diff UiGame.cpp @ 1030:7735bdb3c30f

Doors and other bmodel triggers are now clickable.
author Nomad
date Tue, 21 May 2013 12:52:38 +0200
parents c94d6a37d298
children 3a5c8df8381d
line wrap: on
line diff
--- a/UiGame.cpp	Tue May 21 12:10:08 2013 +0200
+++ b/UiGame.cpp	Tue May 21 12:52:38 2013 +0200
@@ -790,7 +790,7 @@
         }
         if (PID_TYPE(v18) == OBJECT_BModel)
         {
-          if ( v18 < (signed int)0x2000000 )
+          if ( HIWORD(v18) < 512)
           {
             if ( uCurrentlyLoadedLevelType != LEVEL_Indoor)
             {