mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 09:47:20 +00:00
Add default size function
This commit is contained in:
1 parent
dbdad80960
commit
4ee35d7e56
3 files changed
+121
No files matched your search
@@ -135,6 +135,9 @@ NPC::NPC(const NPCType* d, Spawn2* in_respawn, const glm::vec4& position, int if
|
||||
respawn2 = in_respawn;
|
||||
swarm_timer.Disable();
|
||||
|
||||
if (size < 0.0f)
|
||||
size = GetRaceGenderDefaultHeight(race, gender);
|
||||
|
||||
taunting = false;
|
||||
proximity = nullptr;
|
||||
copper = 0;
|
||||
|
||||
Reference in new issue
Block a user