comparison Indoor.cpp @ 564:8b77231088d8

Moon Temple doesn't crash
author Nomad
date Tue, 05 Mar 2013 01:45:15 +0200
parents 9caf59edb1ee
children f451efdb7c8b
comparison
equal deleted inserted replaced
562:b23f19fc0d1b 564:8b77231088d8
3834 { 3834 {
3835 if ( v51 & 0x20000 ) 3835 if ( v51 & 0x20000 )
3836 { 3836 {
3837 v52 = v15->uBitmapID; 3837 v52 = v15->uBitmapID;
3838 if ( v52 != -1 ) 3838 if ( v52 != -1 )
3839 v28->sTextureDeltaV -= v82 3839 v28->sTextureDeltaV -= v82 + (v52 != -1 ? pBitmaps_LOD->pTextures[v52].uTextureHeight : 26);
3840 + *(short *)((signed __int16)v52 != -1 ? 72 * (signed __int16)v52 + 7278780 + 0x1A : 26);
3841 } 3840 }
3842 } 3841 }
3843 if ( BYTE2(v15->uAttributes) & 4 ) 3842 if ( BYTE2(v15->uAttributes) & 4 )
3844 { 3843 {
3845 //v75 = door->vDirection.x; 3844 //v75 = door->vDirection.x;