Fixed static id not matching on client/server.

This commit is contained in:
Pontus Fransson 2014-02-26 10:22:08 +01:00 committed by Dander7BD
parent 5675155be4
commit 762aea73a0
1 changed files with 4 additions and 0 deletions

View File

@ -239,7 +239,11 @@ bool Level::InitiateLevel(std::wstring levelPath)
{ {
LevelMetaData* LevelObjData = ((LevelMetaData*)obj); LevelMetaData* LevelObjData = ((LevelMetaData*)obj);
std::string levelName = LevelObjData->levelName; std::string levelName = LevelObjData->levelName;
// LevelObjData->worldSize; // LevelObjData->worldSize;
//LevelMetaData is not an object.
--this->objID;
} }
break; break;
case ObjectType::ObjectType_Static: case ObjectType::ObjectType_Static: