diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-05 23:23:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-05 23:23:28 +0300 |
commit | 71fabd18ce7ea41a5bdfbe1724a767706bb01d84 (patch) | |
tree | 841e08cc7fd412eecbebce780c5fe1c937065c17 | |
parent | bc815d9c4667734c9855a83e71d963c3bd740145 (diff) | |
download | plus-71fabd18ce7ea41a5bdfbe1724a767706bb01d84.tar.gz plus-71fabd18ce7ea41a5bdfbe1724a767706bb01d84.tar.bz2 plus-71fabd18ce7ea41a5bdfbe1724a767706bb01d84.tar.xz plus-71fabd18ce7ea41a5bdfbe1724a767706bb01d84.zip |
Fix issues after mplint checks.
-rw-r--r-- | src/dirs.cpp | 7 | ||||
-rw-r--r-- | src/net/eathena/buyingstorehandler.cpp | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/dirs.cpp b/src/dirs.cpp index 94067420b..ecbd65ece 100644 --- a/src/dirs.cpp +++ b/src/dirs.cpp @@ -38,6 +38,12 @@ #include "resources/resourcemanager.h" +#ifdef ANDROID +#ifdef USE_SDL2 +#include "render/graphics.h" +#endif +#endif + #ifdef __APPLE__ #include <CoreFoundation/CFBundle.h> #endif @@ -57,7 +63,6 @@ #ifdef ANDROID #ifdef USE_SDL2 -#include "render/graphics.h" int loadingProgressCounter = 1; diff --git a/src/net/eathena/buyingstorehandler.cpp b/src/net/eathena/buyingstorehandler.cpp index 4bbfce091..3e3451db2 100644 --- a/src/net/eathena/buyingstorehandler.cpp +++ b/src/net/eathena/buyingstorehandler.cpp @@ -183,7 +183,7 @@ void BuyingStoreHandler::open(const Being *const being) const { if (!being) return; - createOutPacket(SMSG_BUYINGSTORE_OPEN); + createOutPacket(CMSG_BUYINGSTORE_OPEN); outMsg.writeInt32(being->getId(), "account id"); } |