Skip to content

Commit 28e0c75

Browse files
committed
Fix formatting
1 parent 91b8973 commit 28e0c75

File tree

6 files changed

+7
-8
lines changed

6 files changed

+7
-8
lines changed

Source/Entities/ADoor.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,8 @@ int ADoor::Create(const ADoor& reference) {
7676
for (const ADSensor& sensor: reference.m_Sensors) {
7777
m_Sensors.push_back(sensor);
7878
}
79-
80-
m_SensorInterval = reference.m_SensorInterval;
8179

80+
m_SensorInterval = reference.m_SensorInterval;
8281
m_DoorState = reference.m_DoorState;
8382
m_ClosedByDefault = reference.m_ClosedByDefault;
8483
m_OpenOffset = reference.m_OpenOffset;
@@ -206,7 +205,7 @@ void ADoor::Destroy(bool notInherited) {
206205
if (m_DoorMoveStartSound) {
207206
m_DoorMoveStartSound->Stop();
208207
}
209-
208+
210209
if (m_DoorMoveSound) {
211210
m_DoorMoveSound->Stop();
212211
}

Source/Entities/AtomGroup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@ bool AtomGroup::ResolveTerrainIntersection(Vector& position, unsigned char stron
13631363
if (intersectingAtoms.empty()) {
13641364
return true;
13651365
}
1366-
1366+
13671367
if (intersectingAtoms.size() >= m_Atoms.size()) {
13681368
return false;
13691369
}

Source/Entities/Attachable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ bool Attachable::CollideAtPoint(HitData& hd) {
285285
if (m_IgnoresParticlesWhileAttached && m_Parent && !m_Parent->ToDelete() && !dynamic_cast<MOSRotating*>(hd.Body[HITOR])) {
286286
return false;
287287
}
288-
288+
289289
return MOSRotating::CollideAtPoint(hd);
290290
}
291291

Source/Entities/HeldDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ void HeldDevice::Activate() {
275275
if (!m_Activated) {
276276
m_ActivationTimer.Reset();
277277
}
278-
278+
279279
m_Activated = true;
280280
}
281281

Source/Managers/SceneMan.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ namespace RTE {
298298
const int posY,
299299
const Vector& impulse);
300300

301-
/// Calculate whether a pixel of the scene would be knocked loose and turned into a MO by another particle of a certain material going at a certain velocity.
301+
/// Calculate whether a pixel of the scene would be knocked loose and turned into a MO by another particle of a certain material going at a certain velocity.
302302
/// If so, the incoming particle will knock loose the specified pixel in the scene and momentarily take its place.
303303
/// @param posX The X and Y coord of the scene pixel that is to be collided with.
304304
/// @param posY The impulse force exerted on the terrain pixel. If this magnitude

Source/System/Atom.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ int Atom::Travel(float travelTime, bool autoTravel) {
634634
RTEAbort("Traveling an Atom without a parent MO!");
635635
return travelTime;
636636
}
637-
637+
638638
Vector& position = m_OwnerMO->m_Pos;
639639
Vector& velocity = m_OwnerMO->m_Vel;
640640
float mass = m_OwnerMO->GetMass();

0 commit comments

Comments
 (0)