mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2025-03-03 16:11:56 +00:00
- fix a soldier menu crash (doh!)
- remove the (long obsolete) sv_gc setting.
This commit is contained in:
parent
47c791ff19
commit
ad94b40139
2 changed files with 1 additions and 4 deletions
2
army.qc
2
army.qc
|
@ -577,7 +577,7 @@ void(float inp) Menu_Army_Input1 =
|
|||
self.impulse = 0;
|
||||
return;
|
||||
}
|
||||
if (inp == 9) {
|
||||
if (inp == 9 && self.demon_one != world) {
|
||||
self.current_menu = MENU_ARMY;
|
||||
self.menu_count = MENU_REFRESH_RATE;
|
||||
self.impulse = 0;
|
||||
|
|
3
world.qc
3
world.qc
|
@ -209,9 +209,6 @@ void() worldspawn =
|
|||
localcmd(".cfg\"\n");
|
||||
}
|
||||
|
||||
if (!cvar("sv_gc"))
|
||||
cvar_set ("sv_gc", "10");
|
||||
|
||||
// custom map attributes
|
||||
st = infokey(world, "*gamedir");
|
||||
if (st != "fortress")
|
||||
|
|
Loading…
Reference in a new issue