From d607291546b134eee74586c3a64761aa6789e20a Mon Sep 17 00:00:00 2001 From: Adam Olsen Date: Fri, 21 Sep 2001 14:13:52 +0000 Subject: [PATCH] - fix teleporters to not display if you don't have them - disable topcolor change blocking for now --- menu.qc | 2 +- tforttm.qc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/menu.qc b/menu.qc index 4cd9f43..17b7df3 100644 --- a/menu.qc +++ b/menu.qc @@ -1112,7 +1112,7 @@ void() Menu_Engineer = else st += "\n"; - if (self.has_teleporter < 2 && self.ammo_cells >= BUILD_COST_TELEPORTER) + if (self.has_teleporter < 2 && self.ammo_cells >= BUILD_COST_TELEPORTER && self.tf_items & NIT_TELEPORTER) st += "\x97.. Build a Teleporter Pad \n"; else st += "\n"; diff --git a/tforttm.qc b/tforttm.qc index 1551e09..10ac070 100644 --- a/tforttm.qc +++ b/tforttm.qc @@ -566,11 +566,11 @@ void (string key, string value) UserInfoCallback = } // dprint ("[[" + self.netname + "](" + key + ")(" + value + ")(" + oldval + ")]\n"); - if (key == "topcolor") { // FIXME: some topcolors may be allowed +/* if (key == "topcolor") { // FIXME: some topcolors may be allowed setinfokey(self, "topcolor", oldval); stuffcmd(self, "color \"" + oldval + "\"\n"); return; - } + }*/ if (key == "bottomcolor") { setinfokey (self, "bottomcolor", oldval); stuffcmd (self, "bottomcolor \"" + oldval + "\"\n");