-minor lighting fix

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@212 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
MaddMugsy
2006-06-09 06:06:16 +00:00
parent 0e649e7239
commit 6c9771eef0
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ INT16 zVersionLabel[256] = { L"Beta v. 0.98" };
#else
//RELEASE BUILD VERSION
INT16 zVersionLabel[256] = { L"Release v1.13.208" };
INT16 zVersionLabel[256] = { L"Release v1.13.212" };
#endif
+2 -2
View File
@@ -380,7 +380,7 @@ void DeleteAniTile( ANITILE *pAniTile )
break;
}
if ( pAniNode->uiFlags & ANITILE_LIGHT && pAniNode->lightSprite > 0 )
if ( pAniNode->uiFlags & ANITILE_LIGHT && pAniNode->lightSprite >= 0 )
{
LightSpriteDestroy(pAniNode->lightSprite);
}
@@ -613,7 +613,7 @@ void UpdateAniTiles( )
}
else
{
if ( pNode->uiFlags & ANITILE_LIGHT && pNode->lightSprite > 0 )
if ( pNode->uiFlags & ANITILE_LIGHT && pNode->lightSprite >= 0 )
{
LightSpriteDestroy(pAniNode->lightSprite);
}