|
@@ -1174,7 +1174,7 @@ int atcommand_commands(const int fd, struct map_session_data* sd,
|
|
|
|
|
|
clif_displaymessage(fd, msg_txt(273));
|
|
clif_displaymessage(fd, msg_txt(273));
|
|
memset(atcmd_output, 0, sizeof atcmd_output);
|
|
memset(atcmd_output, 0, sizeof atcmd_output);
|
|
- for (i = 0; atcommand_info[i].type != AtCommand_None; i++)
|
|
|
|
|
|
+ for (i = 0; atcommand_info[i].type != AtCommand_Unknown; i++)
|
|
if (atcommand_info[i].level <= level && atcommand_info[i].command) {
|
|
if (atcommand_info[i].level <= level && atcommand_info[i].command) {
|
|
count++;
|
|
count++;
|
|
strcat(atcmd_output, atcommand_info[i].command);
|
|
strcat(atcmd_output, atcommand_info[i].command);
|