From 71fabd18ce7ea41a5bdfbe1724a767706bb01d84 Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Thu, 5 Feb 2015 23:23:28 +0300
Subject: Fix issues after mplint checks.

---
 src/dirs.cpp                           | 7 ++++++-
 src/net/eathena/buyingstorehandler.cpp | 2 +-
 2 files changed, 7 insertions(+), 2 deletions(-)

(limited to 'src')

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");
 }
 
-- 
cgit v1.2.3-70-g09d2