Merge branch 'master' into wp_master

This commit is contained in:
Akkadius committed 2018-05-28 00:33:05 -05:00
commit a87bf5681f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1596,7 +1596,7 @@ float GetRaceGenderDefaultHeight(int race, int gender)
const auto size = sizeof(male_height) / sizeof(male_height[0]);
if (race > size)
if (race >= size)
return 6.0f;
if (gender == 1)
+1 -1
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;