Mercurial > mm7
comparison mm7_1.cpp @ 702:efde64b3e147
sub_4BDAAF clean
some Chest pointer fixes
author | zipi |
---|---|
date | Mon, 18 Mar 2013 20:19:20 +0000 |
parents | 2dfb67633b01 |
children | e39702f35283 |
comparison
equal
deleted
inserted
replaced
701:d5b16a44d9b3 | 702:efde64b3e147 |
---|---|
3836 if ( v1 ) | 3836 if ( v1 ) |
3837 { | 3837 { |
3838 auto _w = (ItemGen *)(&pOtherOverlayList->pOverlays[49].field_4 + 2662 * (unsigned int)pChestWindow->ptr_1C | 3838 auto _w = (ItemGen *)(&pOtherOverlayList->pOverlays[49].field_4 + 2662 * (unsigned int)pChestWindow->ptr_1C |
3839 + 18 * *((short *)&pChests[0].igChestItems[139].uExpireTime | 3839 + 18 * *((short *)&pChests[0].igChestItems[139].uExpireTime |
3840 + v1 + 2662 * (unsigned int)pChestWindow->ptr_1C + 3)); | 3840 + v1 + 2662 * (unsigned int)pChestWindow->ptr_1C + 3)); |
3841 | |
3842 _w = (ItemGen *)(&pChests[(unsigned int)pChestWindow->ptr_1C] -32 | |
3843 + 18 * *((short *)&pChests[(unsigned int)pChestWindow->ptr_1C].igChestItems[139].uExpireTime + v1 + 3)); | |
3841 v2 = _w->GetDisplayName(); | 3844 v2 = _w->GetDisplayName(); |
3842 sub_41C0B8_set_status_string(v2); | 3845 sub_41C0B8_set_status_string(v2); |
3843 } | 3846 } |
3844 } | 3847 } |
3845 } | 3848 } |