summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-01-14 13:37:23 +0000
committersketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-01-14 13:37:23 +0000
commit6b405aa702e726f1eadcc3657c2da12f112afe0d (patch)
treeb8ff493c1e3752ab328cc3c14b889fce0dbcad8c /src
parent3152d7f51d385cc7abca5eb93d00a4284726986d (diff)
downloadhercules-6b405aa702e726f1eadcc3657c2da12f112afe0d.tar.gz
hercules-6b405aa702e726f1eadcc3657c2da12f112afe0d.tar.bz2
hercules-6b405aa702e726f1eadcc3657c2da12f112afe0d.tar.xz
hercules-6b405aa702e726f1eadcc3657c2da12f112afe0d.zip
Corrected a typo in r13444
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13448 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/atcommand.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 15364ec82..a7f6ce228 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -9036,6 +9036,9 @@ bool is_atcommand(const int fd, struct map_session_data* sd, const char* message
//x being > 1 is unique to its proper syntax
z = ( x > 1 ) ? x : y;
+
+ sprintf(output, "x = %d, y = %d, z = %d", x, y, z);
+ clif_displaymessage(fd, output);
if ( (pl_sd = map_nick2sd(charname)) == NULL && ( (pl_sd = map_nick2sd(charname2)) == NULL ) )
{
@@ -9044,7 +9047,7 @@ bool is_atcommand(const int fd, struct map_session_data* sd, const char* message
return true;
}
- if ( x == 3 && x > y ) {
+ if ( x > 2 ) {
sprintf(message2, "%s %s", cmd, param);
return is_atcommand_sub(fd,pl_sd,message2,gmlvl);
}