summaryrefslogtreecommitdiff
path: root/src/script/squirrel.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/squirrel.hpp')
-rw-r--r--src/script/squirrel.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/squirrel.hpp b/src/script/squirrel.hpp
index d50dc356a..1ada519cc 100644
--- a/src/script/squirrel.hpp
+++ b/src/script/squirrel.hpp
@@ -22,6 +22,7 @@ private:
void *global_pointer; ///< Can be set by who ever initializes Squirrel
SQPrintFunc *print_func; ///< Points to either NULL, or a custom print handler
bool crashed; ///< True if the squirrel script made an error.
+ int overdrawn_ops; ///< The amount of operations we have overdrawn.
/**
* The internal RunError handler. It looks up the real error and calls RunError with it.