diff mm7_3.cpp @ 973:ec7568e13b24

Minor code cleaning.
author Nomad
date Wed, 08 May 2013 21:37:12 +0200
parents 9a5db2cf999a
children 9334a8c59c8d
line wrap: on
line diff
--- a/mm7_3.cpp	Wed May 08 19:54:19 2013 +0200
+++ b/mm7_3.cpp	Wed May 08 21:37:12 2013 +0200
@@ -12873,7 +12873,7 @@
       while ( (signed int)v41 < pDialogueWindow->pNumPresenceButton + pDialogueWindow->pStartingPosActiveItem );
     }
   }
-  pRenderer->DrawTextureIndexed(471, 445, (Texture *)(uExitCancelTextureId != -1 ? &pIcons_LOD->pTextures[uExitCancelTextureId] : 0));
+  pRenderer->DrawTextureIndexed(471, 445, pIcons_LOD->GetTexture(uExitCancelTextureId));
 }
 
 //----- (00445C8B) --------------------------------------------------------