1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Remove int <=> Identifier comparisons

This commit is contained in:
Ivan Savenko
2023-11-02 17:12:58 +02:00
parent 885dce0c27
commit 3634fb2158
12 changed files with 28 additions and 28 deletions

View File

@@ -42,8 +42,8 @@ public:
/// The starting town of the player ranging from 0 to town max count or RANDOM_TOWN.
/// The default value is RANDOM_TOWN.
si32 getStartingTown() const;
void setStartingTown(si32 value);
FactionID getStartingTown() const;
void setStartingTown(FactionID value);
/// The default value is EPlayerType::AI.
EPlayerType getPlayerType() const;
@@ -55,7 +55,7 @@ public:
private:
PlayerColor color;
si32 startingTown;
FactionID startingTown;
EPlayerType playerType;
TeamID team;