From 99bc4b10c83859763ef0f21c70b3c519a31cf98e Mon Sep 17 00:00:00 2001 From: Lance Date: Mon, 20 Nov 2006 12:43:39 +0000 Subject: git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9269 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2