git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9269 54d463be-8e91-2dee-dedb-b68131a5f0ec

This commit is contained in:
Lance 2006-11-20 12:43:39 +00:00
parent 11e7a6e143
commit 9b4d416b15

View File

@ -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);