Mercurial > mm7
comparison mm7_1.cpp @ 1098:81a51a0443e2
small fix, dropping item
author | zipi |
---|---|
date | Sun, 26 May 2013 20:34:35 +0100 |
parents | 9c7eb4037567 |
children | 23a9ea8f380f |
comparison
equal
deleted
inserted
replaced
1097:e1ad5ccc13ae | 1098:81a51a0443e2 |
---|---|
893 unsigned int v23; // eax@62 | 893 unsigned int v23; // eax@62 |
894 SpriteObject a1; // [sp+Ch] [bp-80h]@1 | 894 SpriteObject a1; // [sp+Ch] [bp-80h]@1 |
895 //POINT v25; // [sp+7Ch] [bp-10h]@3 | 895 //POINT v25; // [sp+7Ch] [bp-10h]@3 |
896 POINT a2; // [sp+84h] [bp-8h]@3 | 896 POINT a2; // [sp+84h] [bp-8h]@3 |
897 | 897 |
898 v1 = pMouse->GetCursorPos(&a2); | |
898 if ( pRenderer->pRenderD3D ) | 899 if ( pRenderer->pRenderD3D ) |
899 v0 = pGame->pVisInstance->get_picked_object_zbuf_val(); | 900 v0 = pGame->pVisInstance->get_picked_object_zbuf_val(); |
900 else | 901 else |
901 { | 902 { |
902 v1 = pMouse->GetCursorPos(&a2); | |
903 v0 = pRenderer->pActiveZBuffer[v1->x + pSRZBufferLineOffsets[v1->y]]; | 903 v0 = pRenderer->pActiveZBuffer[v1->x + pSRZBufferLineOffsets[v1->y]]; |
904 } | 904 } |
905 | 905 |
906 if ( PID_TYPE(v0) == OBJECT_Item) | 906 if ( PID_TYPE(v0) == OBJECT_Item) |
907 { | 907 { |