hedgewars/uAIActions.pas
changeset 6393 701eb3f3556a
parent 5419 2fed5e26ff7d
child 6395 bb04d7a9f7e2
--- a/hedgewars/uAIActions.pas	Thu Nov 17 21:44:35 2011 +0300
+++ b/hedgewars/uAIActions.pas	Thu Nov 17 23:14:24 2011 +0300
@@ -30,6 +30,7 @@
       aia_attack     = 4;
       aia_Up         = 5;
       aia_Down       = 6;
+      aia_Switch     = 7;
 
       aia_Weapon     = $8000;
       aia_WaitXL     = $8001;
@@ -64,14 +65,15 @@
 implementation
 uses uAIMisc, uAI, uAmmos, uVariables, uCommands, uUtils, uDebug, uIO;
 
-const ActionIdToStr: array[0..6] of string[16] = (
+const ActionIdToStr: array[0..7] of string[16] = (
 {aia_none}           '',
 {aia_Left}           'left',
 {aia_Right}          'right',
 {aia_Timer}          'timer',
 {aia_attack}         'attack',
 {aia_Up}             'up',
-{aia_Down}           'down'
+{aia_Down}           'down',
+{aia_Switch}         'switch'
                      );
 
 {$IFDEF TRACEAIACTIONS}