changeset 312:6581a2cc21b4

player tooltip face
author zipi
date Tue, 19 Feb 2013 21:51:03 +0000
parents 3c011f4ccba3
children 7f19b3f7d935
files GUIWindow.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/GUIWindow.cpp	Wed Feb 20 01:40:40 2013 +0400
+++ b/GUIWindow.cpp	Tue Feb 19 21:51:03 2013 +0000
@@ -215,7 +215,7 @@
         v15 = pPlayerFrameTable->GetFrameBy_x(uFramesetID, v14);
       }
       pPlayer->field_1AA2 = v15->uTextureID - 1;
-      v13 = pTextures_PlayerFaces[(unsigned int)ptr_1C][v15->uTextureID];
+      v13 = pTextures_PlayerFaces[(unsigned int)ptr_1C][v15->uTextureID-1];
   }
 
   pRenderer->DrawTextureTransparent(uFrameX + 24, uFrameY + 24, v13);