From e409241a50b6294f716248b869d14dc85c1ef82a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 20 Feb 2011 20:24:21 +0100 Subject: [PATCH] egs_game: Counter zone data is just many 0s. Don't use a file for that. --- src/egs_game.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egs_game.erl b/src/egs_game.erl index dbdcd5d..bf7eca8 100644 --- a/src/egs_game.erl +++ b/src/egs_game.erl @@ -261,7 +261,7 @@ event({counter_enter, CounterID, FromZoneID, FromMapID, FromEntryID}, State=#sta area={16#7fffffff, 0, 0}, entryid=0, prev_area=FromArea, prev_entryid=FromEntryID}, egs_users:write(User), QuestData = egs_quests_db:quest_nbl(0), - {ok, ZoneData} = file:read_file("data/lobby/counter.zone.nbl"), + ZoneData = << 0:16000 >>, %% Doing like official just in case. %% load counter psu_proto:send_0c00(User, State), psu_proto:send_020e(QuestData, State),