Prevent horses (player mounts) from being depopped during a #repop

This commit is contained in:
Akkadius
2016-08-27 00:46:45 -05:00
parent 6db350790e
commit db380944ac
3 changed files with 7 additions and 0 deletions
+3
View File
@@ -2510,6 +2510,9 @@ void EntityList::Depop(bool StartSpawnTimer)
if (own && own->IsClient())
continue;
if (pnpc->IsHorse)
continue;
if (pnpc->IsFindable())
UpdateFindableNPCState(pnpc, true);