aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Script.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Script.h')
-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()