mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 05:37:17 +00:00
Implement flymode
This commit is contained in:
1 parent
dfa90aaac5
commit
35eb5b24dd
8 files changed
+172
-134
No files matched your search
@@ -226,6 +226,11 @@ NPC::NPC(const NPCType *npc_type_data, Spawn2 *in_respawn, const glm::vec4 &posi
|
||||
merchant_open = GetClass() == MERCHANT;
|
||||
adventure_template_id = npc_type_data->adventure_template;
|
||||
flymode = iflymode;
|
||||
|
||||
if (npc_type_data->flymode >= 0) {
|
||||
flymode = static_cast<GravityBehavior>(npc_type_data->flymode);
|
||||
}
|
||||
|
||||
guard_anim = eaStanding;
|
||||
roambox_distance = 0;
|
||||
roambox_max_x = -2;
|
||||
|
||||
Reference in new issue
Block a user