mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2024-11-23 20:52:29 +00:00
- fix teleporters to not display if you don't have them
- disable topcolor change blocking for now
This commit is contained in:
parent
ad94b40139
commit
d607291546
2 changed files with 3 additions and 3 deletions
2
menu.qc
2
menu.qc
|
@ -1112,7 +1112,7 @@ void() Menu_Engineer =
|
||||||
else
|
else
|
||||||
st += "\n";
|
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";
|
st += "\x97.. Build a Teleporter Pad \n";
|
||||||
else
|
else
|
||||||
st += "\n";
|
st += "\n";
|
||||||
|
|
|
@ -566,11 +566,11 @@ void (string key, string value) UserInfoCallback =
|
||||||
}
|
}
|
||||||
// dprint ("[[" + self.netname + "](" + key + ")(" + value + ")(" + oldval + ")]\n");
|
// 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);
|
setinfokey(self, "topcolor", oldval);
|
||||||
stuffcmd(self, "color \"" + oldval + "\"\n");
|
stuffcmd(self, "color \"" + oldval + "\"\n");
|
||||||
return;
|
return;
|
||||||
}
|
}*/
|
||||||
if (key == "bottomcolor") {
|
if (key == "bottomcolor") {
|
||||||
setinfokey (self, "bottomcolor", oldval);
|
setinfokey (self, "bottomcolor", oldval);
|
||||||
stuffcmd (self, "bottomcolor \"" + oldval + "\"\n");
|
stuffcmd (self, "bottomcolor \"" + oldval + "\"\n");
|
||||||
|
|
Loading…
Reference in a new issue