Browse Source

nothing noteworthy, really.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16397 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind 13 years ago
parent
commit
199c5acb6f
1 changed files with 12 additions and 11 deletions
  1. 12 11
      src/map/npc.c

+ 12 - 11
src/map/npc.c

@@ -1121,17 +1121,18 @@ int npc_click(struct map_session_data* sd, struct npc_data* nd)
 		return 1;
 		return 1;
 
 
 	switch(nd->subtype) {
 	switch(nd->subtype) {
-	case SHOP:
-		clif_npcbuysell(sd,nd->bl.id);
-		break;
-	case CASHSHOP:
-		clif_cashshop_show(sd,nd);
-		break;
-	case SCRIPT:
-		run_script(nd->u.scr.script,0,sd->bl.id,nd->bl.id);
-		break;
-	case TOMB:
-		run_tomb(sd,nd);
+		case SHOP:
+			clif_npcbuysell(sd,nd->bl.id);
+			break;
+		case CASHSHOP:
+			clif_cashshop_show(sd,nd);
+			break;
+		case SCRIPT:
+			run_script(nd->u.scr.script,0,sd->bl.id,nd->bl.id);
+			break;
+		case TOMB:
+			run_tomb(sd,nd);
+			break;
 	}
 	}
 
 
 	return 0;
 	return 0;