hedgewars/uGears.pas
changeset 6898 344b0dbd9690
parent 6890 6fc12f30c55c
child 6982 8d41d22a291d
--- a/hedgewars/uGears.pas	Fri Apr 20 23:03:20 2012 +0400
+++ b/hedgewars/uGears.pas	Sat Apr 21 19:51:13 2012 +0400
@@ -1302,8 +1302,8 @@
 begin
     doStepHandlers:= handlers;
 
-    RegisterVariable('skip', vtCommand, @chSkip, false);
-    RegisterVariable('hogsay', vtCommand, @chHogSay, true );
+    RegisterVariable('skip', @chSkip, false);
+    RegisterVariable('hogsay', @chHogSay, true );
 
     CurAmmoGear:= nil;
     GearsList:= nil;