summaryrefslogtreecommitdiff
path: root/src/strife/p_switch.c
diff options
context:
space:
mode:
authorSamuel Villareal2010-09-14 06:24:04 +0000
committerSamuel Villareal2010-09-14 06:24:04 +0000
commit4c9a85fa61a4298b342a76d4ac128c036b199055 (patch)
treebca7f6080188f6bd484573ddbfadefa1a5821df6 /src/strife/p_switch.c
parentfe531d051d66611d82c233f8a02b435bece34ab6 (diff)
downloadchocolate-doom-4c9a85fa61a4298b342a76d4ac128c036b199055.tar.gz
chocolate-doom-4c9a85fa61a4298b342a76d4ac128c036b199055.tar.bz2
chocolate-doom-4c9a85fa61a4298b342a76d4ac128c036b199055.zip
+ 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
Diffstat (limited to 'src/strife/p_switch.c')
-rw-r--r--src/strife/p_switch.c13
1 files changed, 13 insertions, 0 deletions
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);