From d0ab27ec1962aa70a1032197d13594c560113717 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Mon, 4 Aug 2025 21:41:10 -0500 Subject: [PATCH] remove redundant boat/horse initialization --- src/game/boe.town.cpp | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/game/boe.town.cpp b/src/game/boe.town.cpp index 73ec934f..091e3133 100644 --- a/src/game/boe.town.cpp +++ b/src/game/boe.town.cpp @@ -492,25 +492,6 @@ void start_town_mode(short which_town, short entry_dir, bool debug_enter) { monst.targ_loc.y = 0; } - // check boats - for(short i = 0; i < univ.party.boats.size(); i++) { - if(univ.scenario.boats[i].which_town >= 0 && univ.scenario.boats[i].loc.x >= 0) { - if(!univ.party.boats[i].exists) { - univ.party.boats[i] = univ.scenario.boats[i]; - univ.party.boats[i].exists = true; - } - } - } - // check horses - for(short i = 0; i < univ.party.horses.size(); i++) { - if(univ.scenario.horses[i].which_town >= 0 && univ.scenario.horses[i].loc.x >= 0) { - if(!univ.party.horses[i].exists) { - univ.party.horses[i] = univ.scenario.horses[i]; - univ.party.horses[i].exists = true; - } - } - } - clear_map(); reset_item_max(); town_force = 200;