From 72349ddbb66ba0c536cdace045e974c96fd8e15a Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Mon, 28 May 2018 01:23:35 -0400 Subject: [PATCH] Fix condition to set default heights Was off by 1, if the height > 0 they don't get default height --- zone/npc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/npc.cpp b/zone/npc.cpp index 96df168ff..ae4dae217 100644 --- a/zone/npc.cpp +++ b/zone/npc.cpp @@ -135,7 +135,7 @@ NPC::NPC(const NPCType* d, Spawn2* in_respawn, const glm::vec4& position, int if respawn2 = in_respawn; swarm_timer.Disable(); - if (size < 0.0f) + if (size <= 0.0f) size = GetRaceGenderDefaultHeight(race, gender); taunting = false;