summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-03-06 22:57:58 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-03-06 22:57:58 +0000
commit11c9fddde1192be90bd83118af9fc95f93fd5064 (patch)
treec99852345e850aa9481c2cedb9372092ae769226
parentc7a8f268c8110899f374cd367afaa564d47ff691 (diff)
downloadhercules-11c9fddde1192be90bd83118af9fc95f93fd5064.tar.gz
hercules-11c9fddde1192be90bd83118af9fc95f93fd5064.tar.bz2
hercules-11c9fddde1192be90bd83118af9fc95f93fd5064.tar.xz
hercules-11c9fddde1192be90bd83118af9fc95f93fd5064.zip
* Minor clean-ups to buyingstore and searchstore code (follow up to r14732).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14733 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/buyingstore.c2
-rw-r--r--src/map/searchstore.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/map/buyingstore.c b/src/map/buyingstore.c
index 229cc6f5b..8f158cd29 100644
--- a/src/map/buyingstore.c
+++ b/src/map/buyingstore.c
@@ -34,7 +34,7 @@ enum e_buyingstore_failure
static unsigned int buyingstore_nextid = 0;
-static short buyingstore_blankslots[MAX_SLOTS] = { 0 }; // used when checking whether or not an item's card slots are blank
+static const short buyingstore_blankslots[MAX_SLOTS] = { 0 }; // used when checking whether or not an item's card slots are blank
/// Returns unique buying store id
diff --git a/src/map/searchstore.c b/src/map/searchstore.c
index 9c9de1f91..d7378ab36 100644
--- a/src/map/searchstore.c
+++ b/src/map/searchstore.c
@@ -5,10 +5,9 @@
#include "../common/malloc.h" // aMalloc, aRealloc, aFree
#include "../common/showmsg.h" // ShowError, ShowWarning
#include "../common/strlib.h" // safestrncpy
-#include "atcommand.h" // msg_txt
#include "battle.h" // battle_config.*
#include "clif.h" // clif_open_search_store_info, clif_search_store_info_*
-#include "pc.h" // struct map_session_data, pc_setpos, pc_isGM
+#include "pc.h" // struct map_session_data
#include "searchstore.h" // struct s_search_store_info