diff options
author | panikon <panikon@zoho.com> | 2014-04-19 21:39:40 -0300 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-04-19 21:39:40 -0300 |
commit | 31486a8c3340a8ca8a8b1e5dd9084c2c07ec8614 (patch) | |
tree | 451f55c703d03d06d7035d61e1fded420634580a /src/map/skill.c | |
parent | 97cd487deb324fb23d9f671d0c1ed739d52d5935 (diff) | |
download | hercules-31486a8c3340a8ca8a8b1e5dd9084c2c07ec8614.tar.gz hercules-31486a8c3340a8ca8a8b1e5dd9084c2c07ec8614.tar.bz2 hercules-31486a8c3340a8ca8a8b1e5dd9084c2c07ec8614.tar.xz hercules-31486a8c3340a8ca8a8b1e5dd9084c2c07ec8614.zip |
Follow up to 6f6a6b3
* Added new method to handle refreshing the storage window when it was closed automatically by the client
* http://hercules.ws/board/tracker/issue-8027-when-the-storage-is-open-you-can-use-self-skills
* http://hercules.ws/board/tracker/issue-7694-guild-notice
Follow up to d57781c
* Fixed minor typo as pointed by @MishimaHaruna
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 612b205e9..dd2fba5c1 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -9759,10 +9759,15 @@ int skill_castend_map (struct map_session_data *sd, uint16 skill_id, const char switch(skill_id) { case AL_TELEPORT: + // The storage window is closed automatically by the client when there's + // any kind of map change, so we need to restore it automatically + // issue: 8027 if(strcmp(mapname,"Random")==0) pc->randomwarp(sd,CLR_TELEPORT); else if (sd->menuskill_val > 1) //Need lv2 to be able to warp here. pc->setpos(sd,sd->status.save_point.map,sd->status.save_point.x,sd->status.save_point.y,CLR_TELEPORT); + + clif->refresh_storagewindow(sd); break; case AL_WARP: |