Sanity check added before calculating distance.

This commit is contained in:
KayenEQ
2014-11-28 05:42:36 -05:00
parent 94a0cb3522
commit ac0933719a
3 changed files with 10 additions and 3 deletions
+1
View File
@@ -297,6 +297,7 @@ Mob::Mob(const char* in_name,
ProjectileAtk[i].origin_x = 0.0f;
ProjectileAtk[i].origin_y = 0.0f;
ProjectileAtk[i].origin_z = 0.0f;
ProjectileAtk[i].sanitycheck = 0.0f;
ProjectileAtk[i].ranged_id = 0;
ProjectileAtk[i].ammo_id = 0;
ProjectileAtk[i].ammo_slot = 0;