1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-13 01:20:34 +02:00

const-ified CTown. May fix #1444

This commit is contained in:
Ivan Savenko
2013-09-06 21:57:16 +00:00
parent dd72261193
commit 76c77d58f6
7 changed files with 9 additions and 9 deletions

View File

@ -586,7 +586,7 @@ public:
enum EFortLevel {NONE = 0, FORT = 1, CITADEL = 2, CASTLE = 3};
CTownAndVisitingHero townAndVis;
CTown * town;
const CTown * town;
std::string name; // name of town
si32 builded; //how many buildings has been built this turn
si32 destroyed; //how many buildings has been destroyed this turn