diff Indoor.cpp @ 849:8fafe3645f36

* PID replaces * Actor::GetDirectionInfo cleaning
author zipi
date Sun, 31 Mar 2013 11:46:28 +0100
parents ceef50611567
children 8fc2f035abc0
line wrap: on
line diff
--- a/Indoor.cpp	Sun Mar 31 10:44:43 2013 +0100
+++ b/Indoor.cpp	Sun Mar 31 11:46:28 2013 +0100
@@ -3516,7 +3516,7 @@
         //v61 = 1;
         //v60 = 8 * i | OBJECT_BLVDoor;
         //v59 = eDoorSoundID;
-        pAudioPlayer->PlaySound(eDoorSoundID, 8 * i | OBJECT_BLVDoor, 1, -1, 0, 0, 0, 0);
+        pAudioPlayer->PlaySound(eDoorSoundID, PID(i,OBJECT_BLVDoor), 1, -1, 0, 0, 0, 0);
         //goto LABEL_18;
       }
 LABEL_18:
@@ -3999,7 +3999,7 @@
       {
         v58 = v22;
         v24 = 8 * v63;
-        LOBYTE(v24) = 8 * v63 | 3;
+        LOBYTE(v24) = PID(v63,OBJECT_Actor);
         v61 = v22;
         _this = v24;
         do