--- deliantra/server/server/commands.C 2017/01/29 02:47:05 1.74 +++ deliantra/server/server/commands.C 2018/12/01 20:22:13 1.76 @@ -1,6 +1,7 @@ /* * This file is part of Deliantra, the Roguelike Realtime MMORPG. * + * Copyright (©) 2017,2018 Marc Alexander Lehmann / the Deliantra team * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team * Copyright (©) 2002 Mark Wedel & Crossfire Development Team * Copyright (©) 1992 Frank Tore Johansen @@ -91,7 +92,7 @@ {"fire" , command_fire , 0.0}, {"fire_stop", command_fire_stop, 0.0}, }; -static const int CommandsSize = array_length (Commands); +static const int CommandsSize = ecb_array_length (Commands); /* * Wizard commands (for both) @@ -123,7 +124,7 @@ {"summon", command_summon, 0.0}, //{"overlay_save", command_save_overlay, 0.0}, }; -static const int WizCommandsSize = array_length (WizCommands); +static const int WizCommandsSize = ecb_array_length (WizCommands); static int compare_A (const void *a, const void *b)