- added a lock parameter to Door_Animated.

SVN r2167 (trunk)
This commit is contained in:
Christoph Oelckers 2010-02-17 22:25:48 +00:00
commit f02303d33c
2 changed files with 5 additions and 2 deletions

View file

@ -189,8 +189,11 @@ FUNC(LS_Door_CloseWaitOpen)
}
FUNC(LS_Door_Animated)
// Door_Animated (tag, speed, delay)
// Door_Animated (tag, speed, delay, lock)
{
if (arg3 != 0 && !P_CheckKeys (it, arg3, arg0 != 0))
return false;
return EV_SlidingDoor (ln, it, arg0, arg1, arg2);
}