summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-05-09 18:45:10 -0300
committershennetsind <ind@henn.et>2013-05-09 18:45:10 -0300
commitac3caf50ec83838486e18294a2d1b68794439119 (patch)
tree4c447cf07acd4f7e2b0d08409f61c5ec6232bfde /src/map/atcommand.c
parentcbda33ca47776479831896a3c3d13cc6253730da (diff)
downloadhercules-ac3caf50ec83838486e18294a2d1b68794439119.tar.gz
hercules-ac3caf50ec83838486e18294a2d1b68794439119.tar.bz2
hercules-ac3caf50ec83838486e18294a2d1b68794439119.tar.xz
hercules-ac3caf50ec83838486e18294a2d1b68794439119.zip
Fixed @go \n problem.
Special Thanks to Yommy, Fatalis. http://hercules.ws/board/topic/570-problem-on-go-text/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c24
1 files changed, 10 insertions, 14 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 9c14f3dbd..63d20d70d 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -876,9 +876,8 @@ ACMD(option)
// notify the user of the requirement to enter an option
clif->message(fd, msg_txt(921)); // Please enter at least one option.
- if( text )
- {// send the help text associated with this command
- clif->message( fd, text );
+ if( text ) {// send the help text associated with this command
+ clif->messageln( fd, text );
}
return false;
@@ -969,7 +968,7 @@ ACMD(jobchange)
if (!found) {
text = atcommand_help_string(info);
if (text)
- clif->message(fd, text);
+ clif->messageln(fd, text);
return false;
}
}
@@ -992,7 +991,7 @@ ACMD(jobchange)
} else {
text = atcommand_help_string(info);
if (text)
- clif->message(fd, text);
+ clif->messageln(fd, text);
return false;
}
@@ -1767,9 +1766,8 @@ ACMD(go)
clif->message(fd, msg_txt(38)); // Invalid location number, or name.
- if( text )
- {// send the text to the client
- clif->message( fd, text );
+ if( text ) {// send the text to the client
+ clif->messageln( fd, text );
}
return false;
@@ -3122,9 +3120,8 @@ ACMD(questskill)
// send the error message as always
clif->message(fd, msg_txt(1027)); // Please enter a quest skill number.
- if( text )
- {// send the skill ID list associated with this command
- clif->message( fd, text );
+ if( text ) {// send the skill ID list associated with this command
+ clif->messageln( fd, text );
}
return false;
@@ -3166,9 +3163,8 @@ ACMD(lostskill)
// send the error message as always
clif->message(fd, msg_txt(1027)); // Please enter a quest skill number.
- if( text )
- {// send the skill ID list associated with this command
- clif->message( fd, text );
+ if( text ) {// send the skill ID list associated with this command
+ clif->messageln( fd, text );
}
return false;