Mercurial > mm7
diff Indoor.cpp @ 564:8b77231088d8
Moon Temple doesn't crash
author | Nomad |
---|---|
date | Tue, 05 Mar 2013 01:45:15 +0200 |
parents | 9caf59edb1ee |
children | f451efdb7c8b |
line wrap: on
line diff
--- a/Indoor.cpp Tue Mar 05 00:25:08 2013 +0200 +++ b/Indoor.cpp Tue Mar 05 01:45:15 2013 +0200 @@ -3836,8 +3836,7 @@ { v52 = v15->uBitmapID; if ( v52 != -1 ) - v28->sTextureDeltaV -= v82 - + *(short *)((signed __int16)v52 != -1 ? 72 * (signed __int16)v52 + 7278780 + 0x1A : 26); + v28->sTextureDeltaV -= v82 + (v52 != -1 ? pBitmaps_LOD->pTextures[v52].uTextureHeight : 26); } } if ( BYTE2(v15->uAttributes) & 4 )