summaryrefslogtreecommitdiff
path: root/src/map/globals.cpp
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-12-30 16:06:06 -0500
committergumi <git@gumi.ca>2018-12-30 16:32:51 -0500
commita56b3ea671e9cc74b3f9ea723bc149e83212b998 (patch)
treea595027339f278c83e4ca8c30454900bdff7f70a /src/map/globals.cpp
parenta860cff760e39dc63de529991131fe295e03f543 (diff)
downloadtmwa-a56b3ea671e9cc74b3f9ea723bc149e83212b998.tar.gz
tmwa-a56b3ea671e9cc74b3f9ea723bc149e83212b998.tar.bz2
tmwa-a56b3ea671e9cc74b3f9ea723bc149e83212b998.tar.xz
tmwa-a56b3ea671e9cc74b3f9ea723bc149e83212b998.zip
pre-send the auth details to map servers instead of blindly trusting 0x0072
Diffstat (limited to 'src/map/globals.cpp')
-rw-r--r--src/map/globals.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/globals.cpp b/src/map/globals.cpp
index 49d6074..97533c8 100644
--- a/src/map/globals.cpp
+++ b/src/map/globals.cpp
@@ -51,6 +51,9 @@ namespace tmwa
Map<ItemNameId, item_data> item_db;
Map<QuestId, quest_data> quest_db;
+ std::array<AuthFifoEntry, 256> auth_fifo;
+ decltype(auth_fifo)::iterator auth_fifo_iter = auth_fifo.begin();
+
DMap<BlockId, dumb_ptr<block_list>> id_db;
UPMap<MapName, map_abstract> maps_db;
DMap<CharName, dumb_ptr<map_session_data>> nick_db;