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

This commit is contained in:
Akkadius committed 2016-08-27 00:46:45 -05:00
1 parent 6db350790e
commit db380944ac
3 files changed
+7

No files matched your search

+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);