1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

wipe constexpr on @DjWarmonger request

This commit is contained in:
AlexVinS 2016-01-29 00:34:54 +03:00
parent 7429403d80
commit 0011507e42
2 changed files with 3 additions and 3 deletions

View File

@ -130,7 +130,7 @@ public:
h & rewardType & rID & rVal & seerName;
}
protected:
static constexpr int OBJPROP_VISITED = 10;
static const int OBJPROP_VISITED = 10;
void setPropertyDer(ui8 what, ui32 val) override;
};

View File

@ -29,7 +29,7 @@ public:
h & players;
}
static constexpr int OBJPROP_VISITED = 10;
static const int OBJPROP_VISITED = 10;
};
class DLL_LINKAGE CGCreature : public CArmedInstance //creatures on map
@ -453,7 +453,7 @@ class DLL_LINKAGE CGDenOfthieves : public CGObjectInstance
class DLL_LINKAGE CGObelisk : public CPlayersVisited
{
public:
static constexpr int OBJPROP_INC = 20;
static const int OBJPROP_INC = 20;
static ui8 obeliskCount; //how many obelisks are on map
static std::map<TeamID, ui8> visited; //map: team_id => how many obelisks has been visited