ref: 109a4d929d04b26e9ceadb1c545ddbc6dce154b3
parent: 16031793fc8c4e39bb027b39a7702154a33051f2
author: Samuel Villareal <svkaiser@gmail.com>
date: Sun Sep 19 14:37:37 EDT 2010
+ Fixed a minor fluke with type 165 in EV_VerticalDoor + Types 165 and 205 supported in P_UseSpecialLine Subversion-branch: /branches/strife-branch Subversion-revision: 2119
--- a/src/strife/p_doors.c
+++ b/src/strife/p_doors.c
@@ -622,7 +622,7 @@
case 165:
player->message = DEH_String("That doesn't seem to work");
S_StartSound(NULL, sfx_oof);
- break;
+ return;
case 166: // DR Hand Print door
if(!player->cards[key_SeveredHand])
--- a/src/strife/p_switch.c
+++ b/src/strife/p_switch.c
@@ -495,18 +495,22 @@
switch (line->special)
{
// MANUALS
- case 1: // Vertical Door
- case 26: // Blue Door/Locked
- case 27: // Yellow Door /Locked
- case 28: // Red Door /Locked
+ case 1: // Vertical Door
+ case 26: // Blue Door/Locked
+ case 27: // Yellow Door /Locked
+ case 28: // Red Door /Locked
- case 31: // Manual door open
- case 32: // Blue locked door open
- case 33: // Red locked door open
- case 34: // Yellow locked door open
+ case 31: // Manual door open
+ case 32: // Blue locked door open
+ case 33: // Red locked door open
+ case 34: // Yellow locked door open
- case 117: // Blazing door raise
- case 118: // Blazing door open
+ case 117: // Blazing door raise
+ case 118: // Blazing door open
+
+ case 165: // That doesn't seem to work
+
+ case 205: // Available in retail only
EV_VerticalDoor (line, thing);
break;