From 3356861028eab8af14ff12b3d0edfa4078d9a935 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Sun, 7 Jan 2024 16:55:52 +0100 Subject: [PATCH] update to plugin 7 --- plugins/plugin_toxic_games.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/plugin_toxic_games.cpp b/plugins/plugin_toxic_games.cpp index cd2bb3c..acfd08a 100644 --- a/plugins/plugin_toxic_games.cpp +++ b/plugins/plugin_toxic_games.cpp @@ -4,6 +4,7 @@ #include #include +#include #include #define RESOLVE_INSTANCE(x) static_cast(solana_api->resolveInstance(#x)) @@ -80,10 +81,11 @@ SOLANA_PLUGIN_EXPORT void solana_plugin_stop(void) { g_tg.reset(); } -SOLANA_PLUGIN_EXPORT void solana_plugin_tick(float delta) { +SOLANA_PLUGIN_EXPORT float solana_plugin_tick(float delta) { (void)delta; //std::cout << "PLUGIN TG TICK()\n"; //g_tg->iterate(); + return std::numeric_limits::max(); } } // extern C