Mercurial > mm7
comparison 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 |
comparison
equal
deleted
inserted
replaced
1029:c94d6a37d298 | 1030:7735bdb3c30f |
---|---|
788 uLastPointedObjectID = pMouse->uPointingObjectID; | 788 uLastPointedObjectID = pMouse->uPointingObjectID; |
789 return; | 789 return; |
790 } | 790 } |
791 if (PID_TYPE(v18) == OBJECT_BModel) | 791 if (PID_TYPE(v18) == OBJECT_BModel) |
792 { | 792 { |
793 if ( v18 < (signed int)0x2000000 ) | 793 if ( HIWORD(v18) < 512) |
794 { | 794 { |
795 if ( uCurrentlyLoadedLevelType != LEVEL_Indoor) | 795 if ( uCurrentlyLoadedLevelType != LEVEL_Indoor) |
796 { | 796 { |
797 v18b = (signed int)(unsigned __int16)v18 >> 9; | 797 v18b = (signed int)(unsigned __int16)v18 >> 9; |
798 v21 = pOutdoor->pBModels[v18b].pFaces[v19 & 0x3F].sCogTriggeredID; | 798 v21 = pOutdoor->pBModels[v18b].pFaces[v19 & 0x3F].sCogTriggeredID; |