aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-18 13:31:06 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-18 13:31:06 +0100
commit1d182abe4278b6bf4410cb25a9ae41f501833990 (patch)
tree931fb2f3ea876d25abbfcd89ce3a9fb7b962c23c /src/crepe/api
parentbec22107c6754f5f3440d79503ddbc828d7e0cba (diff)
process feedback
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/Script.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/crepe/api/Script.h b/src/crepe/api/Script.h
index 0ec3476..a87af4e 100644
--- a/src/crepe/api/Script.h
+++ b/src/crepe/api/Script.h
@@ -53,13 +53,7 @@ protected:
* This function is called during the ScriptSystem::update() routine if the \c BehaviorScript
* component holding this script instance is active.
*/
- virtual void update(duration_t delta_time) { return this->update(); }
- /**
- * \brief Fallback script update function (empty by default)
- *
- * Allows the game programmer to ignore parameters passed to \c update()
- */
- virtual void update() {}
+ virtual void update(duration_t delta_time) {}
//! \}
//! ScriptSystem calls \c init() and \c update()