Reduce global variables
FossilOrigin-Name: 02dbc547c1a4a13918d02cb6f5ba92dd653622303979dd09cc5e3d6d0f617203
This commit is contained in:
parent
3a1bbe3110
commit
7ba16ed96a
7 changed files with 154 additions and 124 deletions
|
@ -27,8 +27,6 @@ int lastmillis = 0;
|
|||
int curtime = 10;
|
||||
OFString *clientmap;
|
||||
|
||||
extern int framesinmap;
|
||||
|
||||
OFString *
|
||||
getclientmap()
|
||||
{
|
||||
|
@ -519,7 +517,7 @@ startmap(char *name) // called just after a map load
|
|||
setvar(@"fogcolour", 0x8099B3);
|
||||
showscores(false);
|
||||
intermission = false;
|
||||
framesinmap = 0;
|
||||
Cube.sharedInstance.framesInMap = 0;
|
||||
conoutf(@"game mode is %s", modestr(gamemode));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue