diff options
author | panikon <panikon@zoho.com> | 2014-05-10 05:31:49 -0300 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-05-10 05:31:49 -0300 |
commit | 90c8d73473f77422a2bd755951264f71514609ff (patch) | |
tree | 282fa47dc4ccea0300358fb2b507315e379358a7 /src/map/clif.c | |
parent | 508d9cb5d10df9662ea9fb06aa4295ab7f282bc8 (diff) | |
download | hercules-90c8d73473f77422a2bd755951264f71514609ff.tar.gz hercules-90c8d73473f77422a2bd755951264f71514609ff.tar.bz2 hercules-90c8d73473f77422a2bd755951264f71514609ff.tar.xz hercules-90c8d73473f77422a2bd755951264f71514609ff.zip |
Optimized THQS_TTShop.txt and corrected a minor mistake
Added npc_market_data_db to inter-server.conf
Added shop message to messages.conf
Fixed small typo in clif_GM_kickack
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 0fc1fe044..cb2474961 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -8136,7 +8136,7 @@ void clif_disp_message(struct block_list* src, const char* mes, size_t len, enum /// result: /// 0 = failure /// 1 = success -void clif_GM_kickack(struct map_session_data *sd, int id) +void clif_GM_kickack(struct map_session_data *sd, int result) { int fd; @@ -8145,7 +8145,7 @@ void clif_GM_kickack(struct map_session_data *sd, int id) fd = sd->fd; WFIFOHEAD(fd,packet_len(0xcd)); WFIFOW(fd,0) = 0xcd; - WFIFOB(fd,2) = id; // FIXME: this is not account id + WFIFOB(fd,2) = result; WFIFOSET(fd, packet_len(0xcd)); } @@ -8159,7 +8159,7 @@ void clif_GM_kick(struct map_session_data *sd,struct map_session_data *tsd) { map->quit(tsd); if( sd ) - clif->GM_kickack(sd,tsd->status.account_id); + clif->GM_kickack(sd, 1); } |