summaryrefslogtreecommitdiff
path: root/src/strife/p_spec.c
diff options
context:
space:
mode:
authorSamuel Villareal2010-09-09 05:37:06 +0000
committerSamuel Villareal2010-09-09 05:37:06 +0000
commit79268587fc730e17cbd974a5583c7185604b59a3 (patch)
tree65b299aa33a2e69b1e570f119a66ef9317d3cd1e /src/strife/p_spec.c
parentdfef246198170fc7efdc5df3a8a7287ded30672d (diff)
downloadchocolate-doom-79268587fc730e17cbd974a5583c7185604b59a3.tar.gz
chocolate-doom-79268587fc730e17cbd974a5583c7185604b59a3.tar.bz2
chocolate-doom-79268587fc730e17cbd974a5583c7185604b59a3.zip
+ Broken glass implementation
+ All switches implemented + Switch structure updated + Linetype 182 implemented Subversion-branch: /branches/strife-branch Subversion-revision: 2050
Diffstat (limited to 'src/strife/p_spec.c')
-rw-r--r--src/strife/p_spec.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/strife/p_spec.c b/src/strife/p_spec.c
index 4a59bf05..d0d7f776 100644
--- a/src/strife/p_spec.c
+++ b/src/strife/p_spec.c
@@ -1065,6 +1065,7 @@ P_ShootSpecialLine
switch(line->special)
{
case 46:
+ case 182: // villsa [STRIFE] for windows
// OPEN DOOR IMPACT
ok = 1;
break;
@@ -1092,6 +1093,11 @@ P_ShootSpecialLine
EV_DoPlat(line,raiseToNearestAndChange,0);
P_ChangeSwitchTexture(line,0);
break;
+
+ case 182:
+ // villsa [STRIFE] break glass
+ P_ChangeSwitchTexture(line, 0);
+ break;
}
}