diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2012-12-21 22:07:37 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2012-12-24 10:02:20 -0800 |
commit | 7afacd63fe36eb56b52490ecf22daeaa95657942 (patch) | |
tree | 53711f61f99d5659a8ef516415655f7e1427dca0 /src/map/map.cpp | |
parent | e5360f5bdfbc67aecd42c9ebda2a42cee732693d (diff) | |
download | tmwa-7afacd63fe36eb56b52490ecf22daeaa95657942.tar.gz tmwa-7afacd63fe36eb56b52490ecf22daeaa95657942.tar.bz2 tmwa-7afacd63fe36eb56b52490ecf22daeaa95657942.tar.xz tmwa-7afacd63fe36eb56b52490ecf22daeaa95657942.zip |
Remove sending of packets the client can't handle
Diffstat (limited to 'src/map/map.cpp')
-rw-r--r-- | src/map/map.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp index 2d49739..d4a9289 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -994,16 +994,9 @@ void map_addchariddb(int charid, const char *name) else numdb_erase(charid_db, charid); - int req = p->req_id; memcpy(p->nick, name, 24); p->req_id = 0; numdb_insert(charid_db, charid, p); - if (req) - { // 返信待ちがあれば返信 - struct map_session_data *sd = map_id2sd(req); - if (sd != NULL) - clif_solved_charname(sd, charid); - } } /*========================================== |