summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-11 14:37:50 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-11 14:37:50 +0000
commit5c8c70df6834c8c37e206514ab640150d22d4d68 (patch)
tree9ee72b894a60ba6ffe17af9631be1af928dcf03d
parent16d0302d542a4741f3d63e08e2683831e4df763b (diff)
downloadhercules-5c8c70df6834c8c37e206514ab640150d22d4d68.tar.gz
hercules-5c8c70df6834c8c37e206514ab640150d22d4d68.tar.bz2
hercules-5c8c70df6834c8c37e206514ab640150d22d4d68.tar.xz
hercules-5c8c70df6834c8c37e206514ab640150d22d4d68.zip
nothing noteworthy, really.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16397 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/npc.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index ed070a232..3d46a6876 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1121,17 +1121,18 @@ int npc_click(struct map_session_data* sd, struct npc_data* nd)
return 1;
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;