1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Hotfix for loading game.

This commit is contained in:
Michał W. Urbańczyk 2010-11-03 11:34:25 +00:00
parent 92f1fbd825
commit 1c8d909433
3 changed files with 4 additions and 4 deletions

View File

@ -278,7 +278,7 @@ void CClient::loadGame( const std::string & fname )
else
tlog0 << "Server opened savegame properly.\n";
*serv << ui8(gs->scenarioOps->playerInfos.size()+1); //number of players + neutral
*serv << ui32(gs->scenarioOps->playerInfos.size()+1); //number of players + neutral
for(std::map<int, PlayerSettings>::iterator it = gs->scenarioOps->playerInfos.begin();
it != gs->scenarioOps->playerInfos.end(); ++it)
{

View File

@ -25,7 +25,7 @@ typedef ui16 spelltype;
#define THC
#endif
#define NAME_VER ("VCMI 0.83")
#define NAME_VER ("VCMI 0.83'")
extern std::string NAME; //full name
extern std::string NAME_AFFIX; //client / server
#define CONSOLE_LOGGING_LEVEL 5

View File

@ -1370,8 +1370,8 @@ CGameState::~CGameState()
delete mx;
delete map;
delete curB;
delete scenarioOps;
delete initialOpts;
//delete scenarioOps; //TODO: fix for loading ind delete
//delete initialOpts;
delete applierGs;
delete objCaller;