mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-29 00:41:38 +02:00
- fixed some extra warnings. Mostly harmless.
NOTE: Please check changes in BattleState.cpp and GameHandler.cpp for possible bugs
This commit is contained in:
@ -1520,7 +1520,7 @@ void CGameState::init(StartInfo * si)
|
||||
|
||||
for(std::map<ui8, PlayerState>::iterator k=players.begin(); k!=players.end(); ++k)
|
||||
{
|
||||
if(k->first==-1 || k->first==255)
|
||||
if(k->first==255)
|
||||
continue;
|
||||
|
||||
//init visiting and garrisoned heroes
|
||||
|
Reference in New Issue
Block a user