mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 06:48:20 +00:00
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:
+1
-1
@@ -135,7 +135,7 @@ NPC::NPC(const NPCType* d, Spawn2* in_respawn, const glm::vec4& position, int if
|
|||||||
respawn2 = in_respawn;
|
respawn2 = in_respawn;
|
||||||
swarm_timer.Disable();
|
swarm_timer.Disable();
|
||||||
|
|
||||||
if (size < 0.0f)
|
if (size <= 0.0f)
|
||||||
size = GetRaceGenderDefaultHeight(race, gender);
|
size = GetRaceGenderDefaultHeight(race, gender);
|
||||||
|
|
||||||
taunting = false;
|
taunting = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user