diff options
-rw-r--r-- | src/map/skill.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index c01da31d5..ad6ef2b45 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -17782,9 +17782,16 @@ static void skill_readdb(void) } -void skill_reload (void) -{ +void skill_reload (void) { + struct s_mapiterator *iter; + struct map_session_data *sd; skill_readdb(); + /* lets update all players skill tree : so that if any skill modes were changed they're properly updated */ + iter = mapit_getallusers(); + for( sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); sd = (TBL_PC*)mapit_next(iter) ) + clif_skillinfoblock(sd); + mapit_free(iter); + } /*========================================== |