diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-26 08:03:03 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-26 08:03:03 +0000 |
commit | 30251c21f6e8f643a52034caf2e433111b0849ce (patch) | |
tree | b2967c03ba25802ee295459d90dc53204873fdab /src | |
parent | 654b42c63b3b3c95e7f454dac1441696aa5fb92d (diff) | |
download | hercules-30251c21f6e8f643a52034caf2e433111b0849ce.tar.gz hercules-30251c21f6e8f643a52034caf2e433111b0849ce.tar.bz2 hercules-30251c21f6e8f643a52034caf2e433111b0849ce.tar.xz hercules-30251c21f6e8f643a52034caf2e433111b0849ce.zip |
* Fixed typo in skill.c: skill_clear_group
* Fixed command descriptions in script_commands.txt
* Cosmetic changes to script.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6289 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/script.c | 2 | ||||
-rw-r--r-- | src/map/skill.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index 626512003..e708ef2ca 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10874,7 +10874,6 @@ int run_func(struct script_state *st) int run_script_main(struct script_state *st)
{
int c/*,rerun_pos*/;
- struct block_list *bl;
int cmdcount=script_config.check_cmdcount;
int gotocount=script_config.check_gotocount;
struct script_stack *stack=st->stack;
@@ -10886,6 +10885,7 @@ int run_script_main(struct script_state *st) st->state = RUN;
}
} else {
+ struct block_list *bl;
st->state = RUN;
if(st->oid && st->rid && (bl = map_id2bl(st->oid))){
if(bl->type == BL_PC){
diff --git a/src/map/skill.c b/src/map/skill.c index e17af7e23..887bc62ce 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -8943,7 +8943,7 @@ int skill_clear_group(struct block_list *bl, int flag) }
}
- for (i=0;i<count;i++);
+ for (i=0;i<count;i++)
skill_delunitgroup(bl, group[i]);
return count;
}
|