1
This commit is contained in:
parent
99aee3ce60
commit
2b65f56cb2
@ -115,6 +115,15 @@ static void CalcGunMuzzlePosition(Creature* c,
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
if (c->GetHeroMeta()->id() == 60100) {
|
||||
gun_muzzle_position +=
|
||||
glm::vec4(
|
||||
shot_animi->p3_x,
|
||||
shot_animi->p3_y,
|
||||
shot_animi->p3_z,
|
||||
0
|
||||
);
|
||||
} else {
|
||||
gun_muzzle_position +=
|
||||
glm::vec4(
|
||||
@ -125,6 +134,7 @@ static void CalcGunMuzzlePosition(Creature* c,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}//end if
|
||||
if (weapon_lv > 0 && weapon_lv < weapon_meta->_gun_muzzle_positions.size() + 1) {
|
||||
auto pos = weapon_meta->_gun_muzzle_positions.at(weapon_lv - 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user