From 4c9a85fa61a4298b342a76d4ac128c036b199055 Mon Sep 17 00:00:00 2001 From: Samuel Villareal Date: Tue, 14 Sep 2010 06:24:04 +0000 Subject: + P_FindSlidingDoorType fixed where it was returning a null slidetype + EV_SlideDoor updated + Linetypes 207 (RemoteSlideDoor) and linetype 229 (Sigil SlideDoor) added + T_MovePlane updated Subversion-branch: /branches/strife-branch Subversion-revision: 2085 --- src/strife/p_switch.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/strife/p_switch.c') diff --git a/src/strife/p_switch.c b/src/strife/p_switch.c index 9ba321f7..6c88e885 100644 --- a/src/strife/p_switch.c +++ b/src/strife/p_switch.c @@ -820,6 +820,19 @@ P_UseSpecialLine EV_SlidingDoor(line, thing); break; + case 207: + // villsa [STRIFE] remote sliding door + if(EV_RemoteSlidingDoor(line, thing)) + P_ChangeSwitchTexture(line, 1); + + case 229: + // villsa [STRIFE] sigil sliding door + if(thing->player && thing->player->sigiltype == 4) + { + if(EV_RemoteSlidingDoor(line, thing)) + P_ChangeSwitchTexture(line, 1); + } + case 666: // villsa [STRIFE] Move wall P_MoveWall(line, thing); -- cgit v1.2.3