summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-05 23:23:28 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-05 23:23:28 +0300
commit71fabd18ce7ea41a5bdfbe1724a767706bb01d84 (patch)
tree841e08cc7fd412eecbebce780c5fe1c937065c17
parentbc815d9c4667734c9855a83e71d963c3bd740145 (diff)
downloadmanaplus-71fabd18ce7ea41a5bdfbe1724a767706bb01d84.tar.gz
manaplus-71fabd18ce7ea41a5bdfbe1724a767706bb01d84.tar.bz2
manaplus-71fabd18ce7ea41a5bdfbe1724a767706bb01d84.tar.xz
manaplus-71fabd18ce7ea41a5bdfbe1724a767706bb01d84.zip
Fix issues after mplint checks.
-rw-r--r--src/dirs.cpp7
-rw-r--r--src/net/eathena/buyingstorehandler.cpp2
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");
}