diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-14 14:54:14 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-14 14:54:14 +0000 |
commit | b07e923a07cbb964a93b8f0032a81c75e5058089 (patch) | |
tree | fb0fff88a9dd64616e788d2053b7d21b2ed27053 /src/map/skill.c | |
parent | 1b46141ee53e908cff5337455c7bbc05d1753a03 (diff) | |
download | hercules-b07e923a07cbb964a93b8f0032a81c75e5058089.tar.gz hercules-b07e923a07cbb964a93b8f0032a81c75e5058089.tar.bz2 hercules-b07e923a07cbb964a93b8f0032a81c75e5058089.tar.xz hercules-b07e923a07cbb964a93b8f0032a81c75e5058089.zip |
- Fixed script engine allowing scripts to set a player's zeny to negative values.
- Fixed setting hide_woe_damage making even "miss" attacks seem to connect.
- Cleaned up pc_getzeny to not require doubles.
- When readjusting the fame-list, the last entry's id is also reset (may fix characters appearing more than once on it?)
- Some sign/unsigned comparison warning fixes.
- Some 'may be used unitialized' warning fixes.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8273 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index d4fbd4972..8367663ba 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -10038,7 +10038,7 @@ int skill_unit_move_sub (struct block_list *bl, va_list ap) struct skill_unit_group *group; struct block_list *target; unsigned int tick,flag,result; - int skill_id,unit_id; + int skill_id,unit_id=0; //Set to 0 to shut-up compiler warnings. target=va_arg(ap,struct block_list*); tick = va_arg(ap,unsigned int); |