mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
* CLodHandler now stories entries in nodrze (much faster searching)
* CLodHandler init cleared up (a bit) * giveDef optimized * horizontal slider * printAtMiddle updates corrrect rect * adjusted shadows * parts of advanced options menu * minor fixes/improvements
This commit is contained in:
2
map.h
2
map.h
@@ -218,7 +218,7 @@ public:
|
||||
CMapInfo(std::string fname, unsigned char *map):CMapHeader(map),filename(fname)
|
||||
{
|
||||
playerAmnt=humenPlayers=0;
|
||||
for (int i=0;i<8;i++)
|
||||
for (int i=0;i<PLAYER_LIMIT;i++)
|
||||
{
|
||||
if (players[i].canHumanPlay) {playerAmnt++;humenPlayers++;}
|
||||
else if (players[i].canComputerPlay) {playerAmnt++;}
|
||||
|
||||
Reference in New Issue
Block a user