diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-10-18 13:16:09 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-10-18 13:16:09 +0200 |
commit | c1aea404b862256e6bf9316eeb8f32c72b78a4c2 (patch) | |
tree | c85049475ebac3b891521caf0fd69de40060bb2d /src/script/cpp_api/s_cheats.h | |
parent | 3a718f12b433ef3980c8fc6e29957595110cd8f4 (diff) | |
download | dragonfireclient-c1aea404b862256e6bf9316eeb8f32c72b78a4c2.tar.xz |
Lint is bitch
Diffstat (limited to 'src/script/cpp_api/s_cheats.h')
-rw-r--r-- | src/script/cpp_api/s_cheats.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/script/cpp_api/s_cheats.h b/src/script/cpp_api/s_cheats.h index a93768659..9b5ace3e7 100644 --- a/src/script/cpp_api/s_cheats.h +++ b/src/script/cpp_api/s_cheats.h @@ -31,6 +31,7 @@ public: std::string m_name; bool is_enabled(); void toggle(lua_State *L, int error_handler); + private: std::string m_setting; int m_function_ref; @@ -43,7 +44,7 @@ public: ~ScriptApiCheatsCategory(); std::string m_name; void read_cheats(lua_State *L); - std::vector<ScriptApiCheatsCheat*> m_cheats; + std::vector<ScriptApiCheatsCheat *> m_cheats; }; class ScriptApiCheats : virtual public ScriptApiBase @@ -53,5 +54,5 @@ public: void init_cheats(); void toggle_cheat(ScriptApiCheatsCheat *cheat); bool m_cheats_loaded = false; - std::vector<ScriptApiCheatsCategory*> m_cheat_categories; + std::vector<ScriptApiCheatsCategory *> m_cheat_categories; }; |