summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");
}