Fixed static id not matching on client/server.
This commit is contained in:
parent
5675155be4
commit
762aea73a0
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue