summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-06-11 11:45:42 +0300
committerAndrei Karas <akaras@inbox.ru>2020-06-17 07:50:57 +0300
commit61a403a8627f2e0b383aae327d5ccd56938267f8 (patch)
treeb47eee40b7533f868bb584d79168901201bf9075 /src/map
parent100b98216b02fe737a94e898622b5d47a12b7133 (diff)
downloadhercules-61a403a8627f2e0b383aae327d5ccd56938267f8.tar.gz
hercules-61a403a8627f2e0b383aae327d5ccd56938267f8.tar.bz2
hercules-61a403a8627f2e0b383aae327d5ccd56938267f8.tar.xz
hercules-61a403a8627f2e0b383aae327d5ccd56938267f8.zip
Fix char id to name requests.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 24d571498..084621e1d 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1911,6 +1911,7 @@ static void map_reqnickdb(struct map_session_data *sd, int charid)
}
// not in cache, request it
CREATE(req, struct charid_request, 1);
+ req->charid = sd->status.char_id;
req->next = p->requests;
p->requests = req;
chrif->searchcharid(charid);