mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2024-11-27 22:42:07 +00:00
oops, don't want to display fieldgens on the build menu if you dont'
have them
This commit is contained in:
parent
6debcdb4ed
commit
68424ae9b7
1 changed files with 2 additions and 2 deletions
4
menu.qc
4
menu.qc
|
@ -1131,10 +1131,10 @@ void() Menu_Engineer =
|
|||
else
|
||||
st += "\n";
|
||||
|
||||
if (self.has_fieldgen < 2 && self.ammo_cells >= BUILD_COST_FIELDGEN)
|
||||
if (self.has_fieldgen < 2 && self.ammo_cells >= BUILD_COST_FIELDGEN && self.cutf_items & CUTF_FIELDGEN)
|
||||
st += "\x9a.. Build a Field Generator \n";
|
||||
#ifdef FIELD_FORCEMODE
|
||||
else if (self.has_fieldgen == 2)
|
||||
else if (self.has_fieldgen == 2 && self.cutf_items & CUTF_FIELDGEN)
|
||||
st += "\x9a.. Force field: " + (GetFieldForcedStatus() ? "\<Closed Mode\> \n" : "\<Intelligent Mode\> \n");
|
||||
#endif
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue