Reduce global variables
FossilOrigin-Name: 02dbc547c1a4a13918d02cb6f5ba92dd653622303979dd09cc5e3d6d0f617203
This commit is contained in:
parent
3a1bbe3110
commit
7ba16ed96a
7 changed files with 154 additions and 124 deletions
|
@ -132,7 +132,7 @@ saycommand(char *init) // turns input to the command line on or off
|
|||
else
|
||||
SDL_StopTextInput();
|
||||
if (!editmode)
|
||||
keyrepeat = saycommandon;
|
||||
Cube.sharedInstance.repeatsKeys = saycommandon;
|
||||
if (!init)
|
||||
init = "";
|
||||
strcpy_s(commandbuf, init);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue