1
This commit is contained in:
parent
11f4271760
commit
fc09c06777
@ -1283,6 +1283,9 @@ void Creature::UpdatePoisoning()
|
|||||||
void Creature::Shot(glm::vec3& target_dir, bool& shot_ok, float fly_distance, int trace_target_uniid)
|
void Creature::Shot(glm::vec3& target_dir, bool& shot_ok, float fly_distance, int trace_target_uniid)
|
||||||
{
|
{
|
||||||
shot_ok = false;
|
shot_ok = false;
|
||||||
|
if (!GetCurrWeapon()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!GetCurrWeapon()->meta) {
|
if (!GetCurrWeapon()->meta) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user