From 762aea73a0e29e82e01bd1850f7da5e57805b9b4 Mon Sep 17 00:00:00 2001 From: Pontus Fransson Date: Wed, 26 Feb 2014 10:22:08 +0100 Subject: [PATCH] Fixed static id not matching on client/server. --- Code/Game/GameLogic/Level.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Code/Game/GameLogic/Level.cpp b/Code/Game/GameLogic/Level.cpp index 40a2b55a..d785a082 100644 --- a/Code/Game/GameLogic/Level.cpp +++ b/Code/Game/GameLogic/Level.cpp @@ -239,7 +239,11 @@ bool Level::InitiateLevel(std::wstring levelPath) { LevelMetaData* LevelObjData = ((LevelMetaData*)obj); std::string levelName = LevelObjData->levelName; + // LevelObjData->worldSize; + + //LevelMetaData is not an object. + --this->objID; } break; case ObjectType::ObjectType_Static: