Skip to content

Commit b29879a

Browse files
committed
Revert "Fix format... again"
This reverts commit 185b191.
1 parent 65cb87c commit b29879a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Source/Entities/MovableObject.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,18 +137,17 @@ LuaStateWrapper& MovableObject::GetAndLockStateForScript(const std::string& scri
137137
}
138138

139139
int MovableObject::Create() {
140-
if (SceneObject::Create() < 0) {
140+
if (SceneObject::Create() < 0)
141141
return -1;
142-
}
143142

144143
m_RestTimer.Reset();
145144

146145
// If the stop time hasn't been assigned, just make the same as the life time.
147-
if (m_EffectStopTime <= 0) {
146+
if (m_EffectStopTime <= 0)
148147
m_EffectStopTime = m_Lifetime;
149-
}
150148

151-
if (m_UniqueID == 0) {
149+
if (m_UniqueID == 0)
150+
{
152151
m_UniqueID = g_MovableMan.GetNextUniqueID();
153152
m_AgeTimer.Reset();
154153
}

0 commit comments

Comments
 (0)