src/variables.cc

changeset 87
8f65914e7046
parent 86
43fe4be38a58
--- a/src/variables.cc	Sun Jan 26 23:18:48 2014 +0200
+++ b/src/variables.cc	Sun Feb 02 01:50:23 2014 +0200
@@ -42,7 +42,7 @@
 script_variable* declare_global_variable (type_e type, string name)
 {
 	// Unfortunately the VM does not support string variables so yeah.
-	if (type == TYPE_STRING)
+	if (type == e_string_type)
 		error ("variables cannot be string\n");
 
 	// Check that the variable is valid

mercurial