diff options
Diffstat (limited to 'src/game/server/hooks.cpp')
| -rw-r--r-- | src/game/server/hooks.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/server/hooks.cpp b/src/game/server/hooks.cpp index 8d37ed81..b3425694 100644 --- a/src/game/server/hooks.cpp +++ b/src/game/server/hooks.cpp @@ -33,6 +33,16 @@ void send_tuning_params(int cid) */ } +int mods_is_tuned() +{ + TUNING_PARAMS standard_tuning; + + if (memcmp(&standard_tuning, &tuning, sizeof(TUNING_PARAMS)) != 0) + return 1; + else + return 0; +} + // Server hooks void mods_client_direct_input(int client_id, void *input) { |