Browse Source

Follow up to https://github.com/CairoLee/rathena/commit/c8db271ed9e69f369e73b58a62995adc91337e32

CairoLee 9 years ago
parent
commit
0c9218884d
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/map/npc.c

+ 0 - 3
src/map/npc.c

@@ -1341,9 +1341,6 @@ int npc_buysellsel(struct map_session_data* sd, int id, int type)
 	}
 	if (nd->sc.option & OPTION_INVISIBLE) // can't buy if npc is not visible (hack?)
 		return 1;
-	if( nd->class_ < 0 && !sd->state.callshop ) {// not called through a script and is not a visible NPC so an invalid call
-		return 1;
-	}
 
 	if (nd->subtype == NPCTYPE_ITEMSHOP) {
 		char output[CHAT_SIZE_MAX];