diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-05 23:44:57 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-05 23:44:57 +0000 |
commit | 7f407d3cf12cc7141ccfd58e022a73baacb6a456 (patch) | |
tree | aaa5ed8e7c4e7b6190768f49a90b4dcdd623a17d /src/map | |
parent | 3fefab81425004d67c61fb911a417ddfdd089693 (diff) | |
download | hercules-7f407d3cf12cc7141ccfd58e022a73baacb6a456.tar.gz hercules-7f407d3cf12cc7141ccfd58e022a73baacb6a456.tar.bz2 hercules-7f407d3cf12cc7141ccfd58e022a73baacb6a456.tar.xz hercules-7f407d3cf12cc7141ccfd58e022a73baacb6a456.zip |
- Fixed @commands not showing the last available commands (unless the total amount of commands is divisible by ten)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6495 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/atcommand.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 115d4bd06..b57163abd 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -1184,7 +1184,9 @@ int atcommand_commands(const int fd, struct map_session_data* sd, memset(atcmd_output, 0, sizeof atcmd_output);
}
}
-
+ if (count%10)
+ clif_displaymessage(fd, atcmd_output);
+
if (count) {
sprintf(atcmd_output, msg_txt(274), count);
clif_displaymessage(fd, atcmd_output);
|