diff --git a/GameVersion.cpp b/GameVersion.cpp index f59109119..f1d659796 100644 --- a/GameVersion.cpp +++ b/GameVersion.cpp @@ -23,12 +23,12 @@ INT16 zVersionLabel[256] = { L"Beta v. 0.98" }; #else //RELEASE BUILD VERSION - INT16 zVersionLabel[256] = { L"Release v1.13.449" }; + INT16 zVersionLabel[256] = { L"Release v1.13.453" }; #endif -INT8 czVersionNumber[16] = { "Build 06.08.16" }; +INT8 czVersionNumber[16] = { "Build 06.08.17" }; INT16 zTrackingNumber[16] = { L"Z" }; diff --git a/TileEngine/physics.cpp b/TileEngine/physics.cpp index 0f7a0161b..1e704e2f3 100644 --- a/TileEngine/physics.cpp +++ b/TileEngine/physics.cpp @@ -2512,7 +2512,7 @@ DebugMsg(TOPIC_JA2,DBG_LEVEL_3,String("physics.cpp line 2337")); if ( Item[pObject->Obj.usItem].flare ) { //if the light object will ber created OFF the ground - if( pObject->Position.z > 0 ) + if( pObject->Position.z > 0 && FindBuilding(pObject->sGridNo) ) { //we cannot create the light source above the ground, or on a roof. The system doesnt support it. AddItemToPool( pObject->sGridNo, &( pObject->Obj ), 1, 1, 0, -1 );