diff Indoor.cpp @ 101:8be5293b6b33

odm loading
author Nomad
date Tue, 06 Nov 2012 06:15:25 +0200
parents 6305c1cd9f6e
children 918dca162239 d2ca891da89f
line wrap: on
line diff
--- a/Indoor.cpp	Sun Nov 04 13:58:15 2012 +0200
+++ b/Indoor.cpp	Tue Nov 06 06:15:25 2012 +0200
@@ -4493,8 +4493,8 @@
     Abortf("Out of memory loading indoor level");
   if ( !(dword_6BE364_game_settings_1 & 0x2000) )
   {
-    UpdateActors();
-    UpdateLayingItems();
+    InitializeActors();
+    InitializeLayingItems();
   }
   BYTE1(dword_6BE364_game_settings_1) &= 0xDFu;
   if ( !v39 )
@@ -4653,8 +4653,8 @@
           if ( v35 < 124 )
           {
             v21 = v35 + 1;
-            pDecortaion->field_1C = v35 + 75;
-            v22 = stru_5E4C90.field_0[v21 + 74];
+            pDecortaion->_idx_in_stru123 = v35 + 75;
+            v22 = stru_5E4C90._decor_events[v21 + 74 - 75];
             v35 = v21;
             if ( !v22 )
               pDecortaion->field_2 |= 0x20;