From 357560f6a8a0b61d94b6a70a519a2d3ece6f364d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 13 Mar 2015 01:37:45 +0300 Subject: Fix make files and compilation errors. --- src/CMakeLists.txt | 5 +++++ src/Makefile.am | 5 +++++ src/net/eathena/maphandler.cpp | 2 +- src/net/tmwa/maphandler.cpp | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 670a06bb4..1d050bf96 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1389,6 +1389,8 @@ SET(SRCS_TMWAEATHENA net/tmwa/homunculushandler.h net/tmwa/mailhandler.cpp net/tmwa/mailhandler.h + net/tmwa/maphandler.cpp + net/tmwa/maphandler.h net/tmwa/markethandler.cpp net/tmwa/markethandler.h net/tmwa/mercenaryhandler.cpp @@ -1429,6 +1431,7 @@ SET(SRCS_EATHENA net/friendshandler.h net/homunculushandler.h net/mailhandler.h + net/maphandler.h net/markethandler.h net/mercenaryhandler.h net/searchstorehandler.h @@ -1475,6 +1478,8 @@ SET(SRCS_EATHENA net/eathena/loginhandler.h net/eathena/mailhandler.cpp net/eathena/mailhandler.h + net/eathena/maphandler.cpp + net/eathena/maphandler.h net/eathena/maptypeproperty2.h net/eathena/markethandler.cpp net/eathena/markethandler.h diff --git a/src/Makefile.am b/src/Makefile.am index 0aeda3e94..7ceb56bcc 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1320,6 +1320,8 @@ manaplus_SOURCES += net/tmwa/auctionhandler.cpp \ net/tmwa/homunculushandler.h \ net/tmwa/mailhandler.cpp \ net/tmwa/mailhandler.h \ + net/tmwa/maphandler.cpp \ + net/tmwa/maphandler.h \ net/tmwa/markethandler.cpp \ net/tmwa/markethandler.h \ net/tmwa/mercenaryhandler.cpp \ @@ -1360,6 +1362,7 @@ manaplus_SOURCES += gui/windows/bankwindow.cpp \ net/friendshandler.h \ net/homunculushandler.h \ net/mailhandler.h \ + net/maphandler.h \ net/markethandler.h \ net/mercenaryhandler.h \ net/searchstorehandler.h \ @@ -1406,6 +1409,8 @@ manaplus_SOURCES += gui/windows/bankwindow.cpp \ net/eathena/loginhandler.h \ net/eathena/mailhandler.cpp \ net/eathena/mailhandler.h \ + net/eathena/maphandler.cpp \ + net/eathena/maphandler.h \ net/eathena/maptypeproperty2.h \ net/eathena/markethandler.cpp \ net/eathena/markethandler.h \ diff --git a/src/net/eathena/maphandler.cpp b/src/net/eathena/maphandler.cpp index e265db717..51b78d4ff 100644 --- a/src/net/eathena/maphandler.cpp +++ b/src/net/eathena/maphandler.cpp @@ -46,7 +46,7 @@ MapHandler::MapHandler() : 0 }; handledMessages = _messages; - mailHandler = this; + mapHandler = this; } void MapHandler::handleMessage(Net::MessageIn &msg) diff --git a/src/net/tmwa/maphandler.cpp b/src/net/tmwa/maphandler.cpp index 483ca0f54..da0cb2421 100644 --- a/src/net/tmwa/maphandler.cpp +++ b/src/net/tmwa/maphandler.cpp @@ -42,7 +42,7 @@ MapHandler::MapHandler() : 0 }; handledMessages = _messages; - mailHandler = this; + mapHandler = this; } void MapHandler::handleMessage(Net::MessageIn &msg) -- cgit v1.2.3-70-g09d2