1
This commit is contained in:
parent
99aee3ce60
commit
2b65f56cb2
@ -116,13 +116,23 @@ static void CalcGunMuzzlePosition(Creature* c,
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
gun_muzzle_position +=
|
||||
glm::vec4(
|
||||
shot_animi->r_x,
|
||||
shot_animi->r_y,
|
||||
shot_animi->r_z,
|
||||
0
|
||||
);
|
||||
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(
|
||||
shot_animi->r_x,
|
||||
shot_animi->r_y,
|
||||
shot_animi->r_z,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}//end if
|
||||
|
Loading…
x
Reference in New Issue
Block a user