From 308d733e98db6321c999e906bcc17c29704d57b0 Mon Sep 17 00:00:00 2001 From: Miran Date: Sun, 12 Jan 2025 22:44:07 +0100 Subject: [PATCH] fixup! Throw error when executing command past script code. --- source/CScriptEngine.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/CScriptEngine.h b/source/CScriptEngine.h index 0969cd52..432659e3 100644 --- a/source/CScriptEngine.h +++ b/source/CScriptEngine.h @@ -51,6 +51,8 @@ namespace CLEO inline SCRIPT_VAR * GetVarsPtr() { return LocalVar; } inline bool IsOK() const { return bOK; } + inline DWORD GetCodeSize() const { return codeSize; } + inline DWORD GetCodeChecksum() const { return codeChecksum; } inline void enable_saving(bool en = true) { bSaveEnabled = en; } inline void SetCompatibility(eCLEO_Version ver) { CompatVer = ver; } inline eCLEO_Version GetCompatibility() const { return CompatVer; }