From 51657e10769faa2617d546a06c42e4c62a19bb50 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 30 Jan 2022 17:41:24 +0100 Subject: Removed trailing whitespace all over the place --- Stars45/Explosion.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Stars45/Explosion.cpp') diff --git a/Stars45/Explosion.cpp b/Stars45/Explosion.cpp index 131aac8..06dbbc0 100644 --- a/Stars45/Explosion.cpp +++ b/Stars45/Explosion.cpp @@ -83,7 +83,7 @@ static bool recycles[MAX_EXPLOSION_TYPES]; // +--------------------------------------------------------------------+ Explosion::Explosion(int t, const Vec3& pos, const Vec3& vel, -float exp_scale, float part_scale, +float exp_scale, float part_scale, SimRegion* rgn, SimObject* src) : SimObject("Explosion", t), type(t), particles(0), source(src) { @@ -131,10 +131,10 @@ SimRegion* rgn, SimObject* src) if (num_parts[type] > 0) { particles = new(__FILE__,__LINE__) Particles(particle_bitmaps[type], - num_parts[type], - pos, - Vec3(0.0f, 0.0f, 0.0f), - part_speeds[type] * part_scale, + num_parts[type], + pos, + Vec3(0.0f, 0.0f, 0.0f), + part_speeds[type] * part_scale, part_drags[type], part_scales[type] * part_scale, part_blooms[type] * part_scale, @@ -151,7 +151,7 @@ SimRegion* rgn, SimObject* src) if (rep) rep->MoveTo(pos); - if (light) + if (light) light->MoveTo(pos); } @@ -542,7 +542,7 @@ Explosion::ExecFrame(double seconds) if (source == Sim::GetSim()->GetPlayerShip()) { Ship* ship = (Ship*) source; - if (CameraDirector::GetCameraMode() == CameraDirector::MODE_COCKPIT && + if (CameraDirector::GetCameraMode() == CameraDirector::MODE_COCKPIT && !ship->IsDying()) { if (rep) rep->Hide(); if (particles) particles->Hide(); -- cgit v1.1