changeset 867:54f191fc5e1e

missed file
author zipi
date Sun, 31 Mar 2013 23:05:42 +0100
parents 7bd9beae3b8d
children 715064ae1792
files UiGame.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/UiGame.cpp	Sun Mar 31 23:01:10 2013 +0100
+++ b/UiGame.cpp	Sun Mar 31 23:05:42 2013 +0100
@@ -516,6 +516,7 @@
   int v16; // ecx@46
   const char *v17; // eax@49
   signed int v18; // eax@55
+  signed int v18b;
   signed int v19; // ecx@63
   BLVFace *pFace; // eax@69
   __int16 v21; // ax@70
@@ -690,7 +691,8 @@
           {
             if ( uCurrentlyLoadedLevelType != LEVEL_Indoor)
             {
-              v21 = pOutdoor->pBModels[(signed int)(unsigned __int16)v18 >> 9].pFaces[v19 & 0x3F].sCogTriggeredID;
+			  v18b = (signed int)(unsigned __int16)v18 >> 9;
+              v21 = pOutdoor->pBModels[v18b].pFaces[v19 & 0x3F].sCogTriggeredID;
               //goto LABEL_71;
               if ( !v21 || (v22 = GetEventHintString(v21)) == 0 )
                 //goto LABEL_73;