mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +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:
parent
510d8083b3
commit
72349ddbb6
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user