diff GUIWindow.cpp @ 312:6581a2cc21b4

player tooltip face
author zipi
date Tue, 19 Feb 2013 21:51:03 +0000
parents 0ea5fbd16edb
children ea55d6414029
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);