From 11c9fddde1192be90bd83118af9fc95f93fd5064 Mon Sep 17 00:00:00 2001 From: ai4rei Date: Sun, 6 Mar 2011 22:57:58 +0000 Subject: * 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 --- src/map/buyingstore.c | 2 +- src/map/searchstore.c | 3 +-- 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 -- cgit v1.2.3-60-g2f50