mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Change test for doors to use team ID
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2838 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -482,7 +482,7 @@ BOOLEAN HandleOpenableStruct( SOLDIERTYPE *pSoldier, INT16 sGridNo, STRUCTURE *p
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( pSoldier->ubID < 20 )
|
||||
if ( pSoldier->bTeam == OUR_TEAM )
|
||||
{
|
||||
// Find locked door here....
|
||||
pDoor = FindDoorInfoAtGridNo( sGridNo );
|
||||
|
||||
Reference in New Issue
Block a user