Fix for bots disappearing while idle

This commit is contained in:
Uleat committed 2019-01-27 09:14:47 -05:00
1 parent 5b371ad054
commit 036e4739ae
4 files changed
+33 -4

No files matched your search

+2 -2
View File
@@ -589,8 +589,8 @@ public:
void MakeSpawnUpdateNoDelta(PlayerPositionUpdateServer_Struct* spu);
void MakeSpawnUpdate(PlayerPositionUpdateServer_Struct* spu);
void SentPositionPacket(float dx, float dy, float dz, float dh, int anim, bool send_to_self = false);
void StopMoving();
void StopMoving(float new_heading);
virtual void StopMoving();
virtual void StopMoving(float new_heading);
void SetSpawned() { spawned = true; };
bool Spawned() { return spawned; };
virtual bool ShouldISpawnFor(Client *c) { return true; }