1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

Several minor cleanups.

This commit is contained in:
Frank Zago
2011-05-04 02:38:58 +00:00
parent 91dc7a0dd4
commit f7a4bb906c
6 changed files with 8 additions and 12 deletions

View File

@ -1981,7 +1981,7 @@ void OptionsTab::flagPressed( int color )
playerToRestore.reset();
}
int newPlayer = clickedNameID; //which player will take clicked position
int newPlayer; //which player will take clicked position
//who will be put here?
if(!clickedNameID) //AI player clicked -> if possible replace computer with unallocated player