diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game_data.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/game_data.cpp b/src/game_data.cpp index 1ccf511..759eb0c 100644 --- a/src/game_data.cpp +++ b/src/game_data.cpp | |||
@@ -455,10 +455,8 @@ struct GameData { | |||
455 | ids_config["panel_doors"][rooms_[room_id].name][panel_door_name] | 455 | ids_config["panel_doors"][rooms_[room_id].name][panel_door_name] |
456 | .as<int>(); | 456 | .as<int>(); |
457 | } else { | 457 | } else { |
458 | std::ostringstream errmsg; | 458 | wxLogError("Missing AP item ID for panel door %s - %s", |
459 | errmsg << "Missing AP item ID for panel door " | 459 | rooms_[room_id].name, panel_door_name); |
460 | << rooms_[room_id].name << " - " << panel_door_name; | ||
461 | TrackerLog(errmsg.str()); | ||
462 | } | 460 | } |
463 | 461 | ||
464 | if (panel_door_it.second["panel_group"]) { | 462 | if (panel_door_it.second["panel_group"]) { |
@@ -470,10 +468,8 @@ struct GameData { | |||
470 | panel_doors_[panel_door_id].group_ap_item_id = | 468 | panel_doors_[panel_door_id].group_ap_item_id = |
471 | ids_config["panel_groups"][panel_group].as<int>(); | 469 | ids_config["panel_groups"][panel_group].as<int>(); |
472 | } else { | 470 | } else { |
473 | std::ostringstream errmsg; | 471 | wxLogError("Missing AP item ID for panel door group %s", |
474 | errmsg << "Missing AP item ID for panel door group " | 472 | panel_group); |
475 | << panel_group; | ||
476 | TrackerLog(errmsg.str()); | ||
477 | } | 473 | } |
478 | } | 474 | } |
479 | } | 475 | } |