aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/cpp_api')
-rw-r--r--src/script/cpp_api/s_base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/cpp_api/s_base.h b/src/script/cpp_api/s_base.h
index dc7b581e3..6f61b6b84 100644
--- a/src/script/cpp_api/s_base.h
+++ b/src/script/cpp_api/s_base.h
@@ -72,7 +72,7 @@ class IGameDef;
class Environment;
class GUIEngine;
class ServerActiveObject;
-class PlayerHPChangeReason;
+struct PlayerHPChangeReason;
class ScriptApiBase {
public:
@@ -146,7 +146,7 @@ protected:
std::string m_last_run_mod;
bool m_secure = false;
#ifdef SCRIPTAPI_LOCK_DEBUG
- int m_lock_recursion_count;
+ int m_lock_recursion_count{};
std::thread::id m_owning_thread;
#endif