Disable newgrave - conflicts with resurrection
authornemo
Mon, 11 Oct 2010 16:23:36 -0400
changeset 3968 b73bf885e127
parent 3967 5b9bc77acd04
child 3969 5f4ef3db0a65
Disable newgrave - conflicts with resurrection
hedgewars/CCHandlers.inc
hedgewars/uConsole.pas
--- a/hedgewars/CCHandlers.inc	Mon Oct 11 15:47:40 2010 -0400
+++ b/hedgewars/CCHandlers.inc	Mon Oct 11 16:23:36 2010 -0400
@@ -105,7 +105,7 @@
 if CurrentTeam = nil then OutError(errmsgIncorrectUse + ' "/rdriven"', true);
 CurrentTeam^.ExtDriven:= true
 end;
-
+(* conflicts with resurrection
 procedure chGrave(var s: shortstring);
 begin
 if CurrentTeam = nil then OutError(errmsgIncorrectUse + ' "/grave"', true);
@@ -113,6 +113,7 @@
 if s[byte(s[0])]='"' then Delete(s, byte(s[0]), 1);
 CurrentTeam^.GraveName:= s
 end;
+*)
 
 procedure chFort(var s: shortstring);
 begin
--- a/hedgewars/uConsole.pas	Mon Oct 11 15:47:40 2010 -0400
+++ b/hedgewars/uConsole.pas	Mon Oct 11 16:23:36 2010 -0400
@@ -245,7 +245,7 @@
     RegisterVariable('minestime',vtLongInt, @cMinesTime     , false);
     RegisterVariable('fort'    , vtCommand, @chFort         , false);
     RegisterVariable('voicepack',vtCommand, @chVoicepack    , false);
-    RegisterVariable('grave'   , vtCommand, @chGrave        , false);
+    //RegisterVariable('grave'   , vtCommand, @chGrave        , false);
     RegisterVariable('bind'    , vtCommand, @chBind         , true );
     RegisterVariable('addhh'   , vtCommand, @chAddHH        , false);
     RegisterVariable('hat'     , vtCommand, @chSetHat       , false);