Skip to content

Commit 185b191

Browse files
committed
Fix format... again
1 parent 0954249 commit 185b191

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Source/Entities/MovableObject.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,17 +137,18 @@ 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+
}
142143

143144
m_RestTimer.Reset();
144145

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

149-
if (m_UniqueID == 0)
150-
{
151+
if (m_UniqueID == 0) {
151152
m_UniqueID = g_MovableMan.GetNextUniqueID();
152153
m_AgeTimer.Reset();
153154
}

0 commit comments

Comments
 (0)