Mercurial > mm7
comparison Chest.cpp @ 2155:0a1438c16c2b
Render decoupling.
author | Nomad |
---|---|
date | Thu, 09 Jan 2014 17:29:17 +0200 |
parents | d28d3c006077 |
children | e1e4a8a20b5f |
comparison
equal
deleted
inserted
replaced
2154:9bd7522cdbbb | 2155:0a1438c16c2b |
---|---|
812 pMouse->RemoveHoldingItem(); | 812 pMouse->RemoveHoldingItem(); |
813 } | 813 } |
814 else | 814 else |
815 { | 815 { |
816 v1 = pMouse->GetCursorPos(&a2); | 816 v1 = pMouse->GetCursorPos(&a2); |
817 v2 = pRenderer->pActiveZBuffer[v1->x + pSRZBufferLineOffsets[pMouse->GetCursorPos((POINT *)&v7)->y]] & 0xFFFF; | 817 v2 = pRenderer->pActiveZBuffer[v1->x + pSRZBufferLineOffsets[pMouse->GetCursorPos(&v7)->y]] & 0xFFFF; |
818 if ( v2 ) | 818 if ( v2 ) |
819 { | 819 { |
820 if ( v2 ) | 820 if ( v2 ) |
821 v3 = v2 - 1; | 821 v3 = v2 - 1; |
822 else | 822 else |