]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
add 'local' keyword in fields.qc, it's for qcc standard anyway
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sat, 18 Aug 2012 12:56:15 +0000 (14:56 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sat, 18 Aug 2012 12:56:15 +0000 (14:56 +0200)
data/fields.qc

index 7c29959487dc5dcef9d3d9393cb2020b530c958b..19d9cc7968fa697088b3a730ce4e53d6a3d4c361 100644 (file)
@@ -15,7 +15,6 @@ void(entity)        kill   = #4;
 .void() fun;
 
 void(entity a, .float f) printfield = {
-    ftos(3+4);
     print3("The field is ", ftos(a.f), "\n");
 };
 
@@ -24,7 +23,7 @@ void() funny = {
 };
 
 void() main = {
-    entity pawn;
+    local entity pawn;
 
     pawn = spawn();