mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 20:51:29 +00:00
Merge pull request #961 from noudess/patch-7
Fix FixZ regarding the use of model in npc_types
This commit is contained in:
commit
b351d3718a
@ -771,7 +771,7 @@ void Mob::FixZ(int32 z_find_offset /*= 5*/, bool fix_client_z /*= false*/) {
|
||||
float Mob::GetZOffset() const {
|
||||
float offset = 3.125f;
|
||||
|
||||
switch (race) {
|
||||
switch (GetModel()) {
|
||||
case RACE_BASILISK_436:
|
||||
offset = 0.577f;
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user