diff UiGame.cpp @ 848:ceef50611567

* AI fixed (temporary) * PID_ID, PID_TYPE replaces * >> 7 error in AudioPlayer
author zipi
date Sun, 31 Mar 2013 10:44:43 +0100
parents dfd683c4f538
children 54f191fc5e1e
line wrap: on
line diff
--- a/UiGame.cpp	Sat Mar 30 19:36:05 2013 +0400
+++ b/UiGame.cpp	Sun Mar 31 10:44:43 2013 +0100
@@ -1420,7 +1420,7 @@
                             if ( pParty->uFlags & 0x20 )
                                 v16 = dword_5079C8;
                             }
-                        pRenderer->DrawTextureTransparent(pPlayerPortraitsXCoords_For_PlayerBuffAnimsDrawing[pElem->uPackedID >> 3] - 4,
+                        pRenderer->DrawTextureTransparent(pPlayerPortraitsXCoords_For_PlayerBuffAnimsDrawing[PID_ID(pElem->uPackedID)] - 4,
                             0x181u, (Texture *)(v16 != -1 ? &pIcons_LOD->pTextures[v16] : 0));
                         }
                     }