diff options
author | Haru <haru@dotalux.com> | 2015-12-27 18:17:24 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-01-06 15:14:49 +0100 |
commit | b3c722ecf777aeeea6317755a6adfc0216b7a2bd (patch) | |
tree | c3692ea61faa21307265d7b3e4a09d38854a8d71 /src/map/skill.c | |
parent | aa574e36fea903b9aea31ea6f52855498d9476a9 (diff) | |
download | hercules-b3c722ecf777aeeea6317755a6adfc0216b7a2bd.tar.gz hercules-b3c722ecf777aeeea6317755a6adfc0216b7a2bd.tar.bz2 hercules-b3c722ecf777aeeea6317755a6adfc0216b7a2bd.tar.xz hercules-b3c722ecf777aeeea6317755a6adfc0216b7a2bd.zip |
Replaced some explicit casts with BL_UCAST/BL_UCCAST
- Replaced the map-iterator related casts.
Signed-off-by: Haru <haru@dotalux.com>
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 85de43198..b82e3864b 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -19111,7 +19111,7 @@ void skill_reload(void) chrif->skillid2idx(0); /* lets update all players skill tree : so that if any skill modes were changed they're properly updated */ iter = mapit_getallusers(); - for (sd = (struct map_session_data *)mapit->first(iter); mapit->exists(iter); sd = (struct map_session_data *)mapit->next(iter)) + for (sd = BL_UCAST(BL_PC, mapit->first(iter)); mapit->exists(iter); sd = BL_UCAST(BL_PC, mapit->next(iter))) clif->skillinfoblock(sd); mapit->free(iter); |