summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-20 12:43:39 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-20 12:43:39 +0000
commit99bc4b10c83859763ef0f21c70b3c519a31cf98e (patch)
tree53e30aa37de4bb60943fccac940b0fc861433231
parentd4922af048001a0a983cc185e81101f4e99454ad (diff)
downloadhercules-99bc4b10c83859763ef0f21c70b3c519a31cf98e.tar.gz
hercules-99bc4b10c83859763ef0f21c70b3c519a31cf98e.tar.bz2
hercules-99bc4b10c83859763ef0f21c70b3c519a31cf98e.tar.xz
hercules-99bc4b10c83859763ef0f21c70b3c519a31cf98e.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9269 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/script.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/script.c b/src/map/script.c
index bc87f8c0b..233648a4d 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -10112,7 +10112,7 @@ int buildin_atcommand(struct script_state *st)
if (sd){
if(cmd[0] != '@'){
cmd += strlen(sd->status.name);
- while(*cmd != '@' && cmd != 0)
+ while(*cmd != '@' && *cmd != 0)
cmd++;
}
atcommand_sub(sd->fd, sd, cmd, 99);
@@ -10128,7 +10128,7 @@ int buildin_atcommand(struct script_state *st)
}
if(cmd[0] != '@'){
cmd += strlen(dummy_sd.status.name);
- while(*cmd != '@' && cmd != 0)
+ while(*cmd != '@' && *cmd != 0)
cmd++;
}
atcommand_sub(0, &dummy_sd, cmd, 99);
@@ -10150,7 +10150,7 @@ int buildin_charcommand(struct script_state *st)
if (sd){
if(cmd[0] != '#'){
cmd += strlen(sd->status.name);
- while(*cmd != '#' && cmd != 0)
+ while(*cmd != '#' && *cmd != 0)
cmd++;
}
charcommand_sub(sd->fd, sd, cmd,99);
@@ -10166,7 +10166,7 @@ int buildin_charcommand(struct script_state *st)
}
if(cmd[0] != '#'){
cmd += strlen(dummy_sd.status.name);
- while(*cmd != '#' && cmd != 0)
+ while(*cmd != '#' && *cmd != 0)
cmd++;
}
charcommand_sub(0, &dummy_sd, cmd, 99);