mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
PreGame: avoid crashing on random map options
Options is still broken, but at least we shouldn't crash there.
This commit is contained in:
@@ -108,6 +108,8 @@ public:
|
||||
si8 getPlayerCount() const;
|
||||
void setPlayerCount(si8 value);
|
||||
|
||||
si8 getHumanOnlyPlayerCount() const;
|
||||
|
||||
/// The count of the teams ranging from 0 to <players count - 1> or RANDOM_SIZE for random.
|
||||
si8 getTeamCount() const;
|
||||
void setTeamCount(si8 value);
|
||||
|
||||
Reference in New Issue
Block a user