mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-29 23:15:56 -04:00
these can fail silently since the default 1.0 is sane
This commit is contained in:
+1
-1
@@ -935,7 +935,7 @@ void AiShipBehaviorAttackFighter::calculateWeaponProjectileSpeed()
|
||||
|
||||
if (m_projectileSpeed <= 0.0f)
|
||||
{
|
||||
DEBUG_WARNING(true, ("debug_ai: unit(%s) ERROR: This ship has a projectile speed of %.2f.", ownerShipObject.getDebugInformation().c_str(), m_projectileSpeed));
|
||||
//DEBUG_WARNING(true, ("debug_ai: unit(%s) ERROR: This ship has a projectile speed of %.2f.", ownerShipObject.getDebugInformation().c_str(), m_projectileSpeed));
|
||||
|
||||
m_projectileSpeed = 1.0f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user