summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authormomacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-11 02:42:12 +0000
committermomacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-11 02:42:12 +0000
commitbc7a40f6a18298faeb4973fc6b3e5c62146b717b (patch)
tree6b1f5c194738b085451b31e3e07b22037298c12e /src/map/pc.c
parent236f91e285fabdc2c79ce66b0c165883a6b2c3f8 (diff)
downloadhercules-bc7a40f6a18298faeb4973fc6b3e5c62146b717b.tar.gz
hercules-bc7a40f6a18298faeb4973fc6b3e5c62146b717b.tar.bz2
hercules-bc7a40f6a18298faeb4973fc6b3e5c62146b717b.tar.xz
hercules-bc7a40f6a18298faeb4973fc6b3e5c62146b717b.zip
Fixed bugreport:6820 where Open Buying Store didn't show up in skill window after relogging.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16908 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 723b2df7b..f93aa8835 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -1351,7 +1351,6 @@ int pc_calc_skilltree(struct map_session_data *sd)
case LG_OVERBRAND_BRANDISH:
case LG_OVERBRAND_PLUSATK:
case WM_SEVERE_RAINSTORM_MELEE:
- case ALL_BUYING_STORE:
continue;
default:
break;
@@ -1406,10 +1405,6 @@ int pc_calc_skilltree(struct map_session_data *sd)
))
continue; //Cannot be learned via normal means. Note this check DOES allows raising already known skills.
- /* This thing is present in all skill trees (for whatever reason) and it crashes if gm w/o PC_PERM_ALL_SKILL uses @allskills */
- if( id == ALL_BUYING_STORE )
- continue;
-
sd->status.skill[id].id = id;
if(inf2&INF2_SPIRIT_SKILL) { //Spirit skills cannot be learned, they will only show up on your tree when you get buffed.