X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fbot%2Fdefault%2Fbot.qh;h=618a766b8098aad90ce59c1b07acc76e1f5b5c21;hb=b5c2004edc3d7e620e24283b1e3fe4d2396cd357;hp=88dba449d5fe245d9a63b05c019f9c1ffd1009ec;hpb=e824d4612617171b932bba08f1a5a50500d4a603;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/bot/default/bot.qh b/qcsrc/server/bot/default/bot.qh index 88dba449d..618a766b8 100644 --- a/qcsrc/server/bot/default/bot.qh +++ b/qcsrc/server/bot/default/bot.qh @@ -48,6 +48,8 @@ float bot_distance_close; entity bot_list; .entity nextbot; .string cleanname; +// the *_freeme fields exist only to avoid an engine crash +// when trying to strunzone the original fields .string netname_freeme; .string playermodel_freeme; .string playerskin_freeme; @@ -95,7 +97,6 @@ void bot_setnameandstuff(entity this); void bot_custom_weapon_priority_setup(); void bot_endgame(); void bot_relinkplayerlist(); -void bot_clear(entity this); void bot_clientdisconnect(entity this); void bot_clientconnect(entity this); void bot_removefromlargestteam();