Fix condition to set default heights

Was off by 1, if the height > 0 they don't get default height
This commit is contained in:
Michael Cook (mackal) 2018-05-28 01:23:35 -04:00
parent 510d8083b3
commit 72349ddbb6

View File

@ -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;