Browse Source

Fixed bugreport:6820 where Open Buying Store didn't show up in skill window after relogging.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16908 54d463be-8e91-2dee-dedb-b68131a5f0ec
momacabu 12 years ago
parent
commit
383f42343e
1 changed files with 0 additions and 5 deletions
  1. 0 5
      src/map/pc.c

+ 0 - 5
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.