1
0

Removed duplicate code (#4198)

Should also fix dogs not despawning
This commit is contained in:
Bond-009
2018-04-11 13:17:30 +02:00
committed by Alexander Harkness
parent 4bf160d596
commit 98d807187b
4 changed files with 159 additions and 147 deletions

View File

@@ -1199,7 +1199,7 @@ void cWorld::TickMobs(std::chrono::milliseconds a_Dt)
else
{
auto & Wolf = static_cast<cWolf &>(Monster);
if (Wolf.IsAngry())
if (!Wolf.IsAngry() && !Wolf.IsTame())
{
Monster.Destroy(true);
}