From cbe175461b8b7bbf0a8156100ced25d9e69ae2cc Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 25 Jul 2001 00:16:56 +0000 Subject: [PATCH] remove some redundant logic --- tfort.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tfort.qc b/tfort.qc index 374bc39..bcc50cb 100644 --- a/tfort.qc +++ b/tfort.qc @@ -158,12 +158,12 @@ void() TeamFortress_ChangeClass = local string scratch; //WK - Handle Custom Class Restarting - if (self.playerclass == PC_CUSTOM && self.done_custom & CUSTOM_BUILDING) { + if (self.playerclass == PC_CUSTOM && (self.done_custom & CUSTOM_BUILDING)) { DropToCustomClassGen(); //Comatose state return; } - if (self.playerclass != PC_UNDEFINED && !(self.playerclass == PC_CUSTOM && (self.done_custom & CUSTOM_BUILDING))) + if (self.playerclass != PC_UNDEFINED) { // In Deathmatch 3, you can change class after you die if (deathmatch != 3)