- moved bglobal into FLevelLocals
This is still all static data, only the location has changed, but none of the access.
This commit is contained in:
parent
8bbdee5c28
commit
e30f116faf
20 changed files with 72 additions and 74 deletions
|
|
@ -2230,11 +2230,11 @@ void Net_DoCommand (int type, uint8_t **stream, int player)
|
|||
break;
|
||||
|
||||
case DEM_ADDBOT:
|
||||
bglobal.TryAddBot (&level, stream, player);
|
||||
level.BotInfo.TryAddBot (&level, stream, player);
|
||||
break;
|
||||
|
||||
case DEM_KILLBOTS:
|
||||
bglobal.RemoveAllBots (&level, true);
|
||||
level.BotInfo.RemoveAllBots (&level, true);
|
||||
Printf ("Removed all bots\n");
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue