Skip to content

Commit 745a812

Browse files
committed
Addressed review points
1 parent 0082330 commit 745a812

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Source/Entities/MovableObject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ void MovableObject::Update() {
900900
}
901901

902902
if (m_pScreenEffect && m_PostEffectEnabled) {
903-
MovableObject::SetPostScreenEffectToDraw();
903+
SetPostScreenEffectToDraw();
904904
}
905905
}
906906

Source/Entities/MovableObject.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,9 +1067,6 @@ namespace RTE {
10671067
/// @return Whether this MO has requested a synced update this frame.
10681068
virtual bool HasRequestedSyncedUpdate() { return m_RequestedSyncedUpdate; }
10691069

1070-
/// Sets the screen effect to draw at the final post-processing stage.
1071-
void SetPostScreenEffectToDraw() const;
1072-
10731070
/// Protected member variable and method declarations
10741071
protected:
10751072
/// Does necessary work to setup a script object name for this object, allowing it to be accessed in Lua, then runs all of the MO's scripts' Create functions in Lua.
@@ -1291,6 +1288,9 @@ namespace RTE {
12911288
// Disallow the use of some implicit methods.
12921289
MovableObject(const MovableObject& reference) = delete;
12931290
MovableObject& operator=(const MovableObject& ref) = delete;
1291+
1292+
/// Sets the screen effect to draw at the final post-processing stage.
1293+
void SetPostScreenEffectToDraw() const;
12941294
};
12951295

12961296
} // namespace RTE

0 commit comments

Comments
 (0)