* Minor clean-ups to buyingstore and searchstore code (follow up to r14732).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14733 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ai4rei 2011-03-06 22:57:58 +00:00
parent 6b74ef9b50
commit a54e55ae82
2 changed files with 2 additions and 3 deletions

View File

@ -34,7 +34,7 @@ enum e_buyingstore_failure
static unsigned int buyingstore_nextid = 0; 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 /// Returns unique buying store id

View File

@ -5,10 +5,9 @@
#include "../common/malloc.h" // aMalloc, aRealloc, aFree #include "../common/malloc.h" // aMalloc, aRealloc, aFree
#include "../common/showmsg.h" // ShowError, ShowWarning #include "../common/showmsg.h" // ShowError, ShowWarning
#include "../common/strlib.h" // safestrncpy #include "../common/strlib.h" // safestrncpy
#include "atcommand.h" // msg_txt
#include "battle.h" // battle_config.* #include "battle.h" // battle_config.*
#include "clif.h" // clif_open_search_store_info, clif_search_store_info_* #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 #include "searchstore.h" // struct s_search_store_info