From 8e1fd02cd9ddf642accd91d5835e70942d35b835 Mon Sep 17 00:00:00 2001 From: murilo09 <78226931+murilo09@users.noreply.github.com> Date: Wed, 15 Jan 2025 10:17:55 -0300 Subject: [PATCH] fix: showing cyclopedia houses correctly (#3245) --- src/game/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/game.cpp b/src/game/game.cpp index 6f659e92916..2a7487548f0 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -10999,7 +10999,7 @@ void Game::playerCyclopediaHousesByTown(uint32_t playerId, const std::string &to const auto &house = it.second; const auto &town = g_game().map.towns.getTown(house->getTownId()); if (!town) { - return; + continue; } const std::string &houseTown = town->getName();