--- a/src/variables.h Sun Jan 19 20:39:30 2014 +0200
+++ b/src/variables.h Sun Jan 26 23:18:48 2014 +0200
@@ -40,6 +40,11 @@
type_e type;
int value;
int index;
+
+ bool is_global() const
+ {
+ return statename.is_empty();
+ }
};
extern list<script_variable> g_GlobalVariables;