Fix for bots disappearing while idle (update)

This commit is contained in:
Uleat
2019-01-29 20:25:35 -05:00
parent 444acb7c70
commit bc79e28d49
4 changed files with 15 additions and 27 deletions
+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);
virtual void StopMoving();
virtual void StopMoving(float new_heading);
void StopMoving();
void StopMoving(float new_heading);
void SetSpawned() { spawned = true; };
bool Spawned() { return spawned; };
virtual bool ShouldISpawnFor(Client *c) { return true; }