mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-07 07:12:25 +00:00
Merge branch 'master' into wp_master
This commit is contained in:
commit
a87bf5681f
@ -1596,7 +1596,7 @@ float GetRaceGenderDefaultHeight(int race, int gender)
|
|||||||
|
|
||||||
const auto size = sizeof(male_height) / sizeof(male_height[0]);
|
const auto size = sizeof(male_height) / sizeof(male_height[0]);
|
||||||
|
|
||||||
if (race > size)
|
if (race >= size)
|
||||||
return 6.0f;
|
return 6.0f;
|
||||||
|
|
||||||
if (gender == 1)
|
if (gender == 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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user