Skip to content

Commit

Permalink
remove oldass salvoError multiplier hack
Browse files Browse the repository at this point in the history
  • Loading branch information
rtri committed Aug 16, 2019
1 parent 0a1329f commit 80f6579
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rts/Sim/Weapons/Weapon.cpp
Expand Up @@ -452,10 +452,6 @@ void CWeapon::UpdateFire()
nextSalvo = gs->frameNum;
salvoError = gsRNG.NextVector() * (owner->IsMoving()? weaponDef->movingAccuracy: accuracyError);

// area firing stuff is too effective at radar firing...
if (HavePosTarget() || (HaveUnitTarget() && !(currentTarget.unit->losStatus[owner->allyteam] & LOS_INLOS)))
salvoError *= 1.3f;

owner->lastMuzzleFlameSize = muzzleFlareSize;
owner->lastMuzzleFlameDir = wantedDir;
owner->script->FireWeapon(weaponNum);
Expand Down

0 comments on commit 80f6579

Please sign in to comment.