add: yb_save_bots_names used to save bots names between level changes

remove: pfnChangLevel hook, it's not needed in multiplayer
remove: kick all bots on level change on xash3d, it's done by default now.
This commit is contained in:
dmitry 2021-09-21 16:52:20 +03:00
commit 49a1fbbb6b
No known key found for this signature in database
GPG key ID: 8297CE728B7A7E37
4 changed files with 25 additions and 26 deletions

View file

@ -82,6 +82,7 @@ private:
Array <edict_t *> m_activeGrenades; // holds currently active grenades on the map
Array <edict_t *> m_intrestingEntities; // holds currently intresting entities on the map
Deque <String> m_saveBotNames; // bots names that persist upon changelevel
Deque <BotRequest> m_addRequests; // bot creation tab
SmallArray <BotTask> m_filters; // task filters
SmallArray <UniqueBot> m_bots; // all available bots