diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-06 04:17:21 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-06 04:17:21 +0000 |
commit | d6ef49eb43beb76fd903558c94a5b5b0032ff491 (patch) | |
tree | c0eec4a31913bb4fb79c4101dc365d24b8a9b558 /src | |
parent | 31105c152d9a18817e51890fb9581a32c6fefcc3 (diff) | |
download | hercules-d6ef49eb43beb76fd903558c94a5b5b0032ff491.tar.gz hercules-d6ef49eb43beb76fd903558c94a5b5b0032ff491.tar.bz2 hercules-d6ef49eb43beb76fd903558c94a5b5b0032ff491.tar.xz hercules-d6ef49eb43beb76fd903558c94a5b5b0032ff491.zip |
- Fixed a bug in @commands, most likely the reason some people were still getting crashes.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6500 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/atcommand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index b57163abd..c2bbfda12 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -1174,7 +1174,7 @@ int atcommand_commands(const int fd, struct map_session_data* sd, clif_displaymessage(fd, msg_txt(273));
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) {
count++;
strcat(atcmd_output, atcommand_info[i].command);
|