about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-05-15 13:27:33 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-05-15 13:27:33 -0400
commit636d23430bddf8295afeb55381db8d1f65cf4b38 (patch)
treef7fd032833f7f3a172652be69c13d2e0fa743dea /src
parent0c7cb22f3da56fde00f981f9fefb971c541bc8f1 (diff)
downloadlingo-ap-tracker-636d23430bddf8295afeb55381db8d1f65cf4b38.tar.gz
lingo-ap-tracker-636d23430bddf8295afeb55381db8d1f65cf4b38.tar.bz2
lingo-ap-tracker-636d23430bddf8295afeb55381db8d1f65cf4b38.zip
Fixed art gallery painting
Diffstat (limited to 'src')
-rw-r--r--src/game_data.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game_data.cpp b/src/game_data.cpp index de47ba4..7c9564b 100644 --- a/src/game_data.cpp +++ b/src/game_data.cpp
@@ -783,6 +783,11 @@ const SubwayItem &GD_GetSubwayItem(int id) {
783} 783}
784 784
785int GD_GetSubwayItemForPainting(const std::string& painting_id) { 785int GD_GetSubwayItemForPainting(const std::string& painting_id) {
786#ifndef NDEBUG
787 if (!GetState().subway_item_by_painting_.count(painting_id)) {
788 wxLogError("No subway item for painting %s", painting_id);
789 }
790#endif
786 return GetState().subway_item_by_painting_.at(painting_id); 791 return GetState().subway_item_by_painting_.at(painting_id);
787} 792}
788 793