Typo on a683e005d73f37b57e625046168e9f3282131a81
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
This commit is contained in:
parent
3037a1b57e
commit
4d97e9adf2
@ -379,7 +379,7 @@ int mapif_parse_itembound_retrieve(int fd)
|
||||
if (j) {
|
||||
StringBuf buf2;
|
||||
StringBuf_Init(&buf2);
|
||||
StringBuf_Printf(&buf2, "UPDATE `%s` SET %s WHERE `char_id`='%d", schema_config.char_db, StringBuf_Value(&buf), char_id);
|
||||
StringBuf_Printf(&buf2, "UPDATE `%s` SET %s WHERE `char_id`='%d'", schema_config.char_db, StringBuf_Value(&buf), char_id);
|
||||
|
||||
if( SQL_ERROR == SqlStmt_PrepareStr(stmt, StringBuf_Value(&buf)) ||
|
||||
SQL_ERROR == SqlStmt_Execute(stmt) )
|
||||
|
@ -277,13 +277,14 @@ struct storage_data {
|
||||
struct item items[MAX_STORAGE];
|
||||
};
|
||||
|
||||
/// Guild storgae struct
|
||||
struct guild_storage {
|
||||
bool dirty;
|
||||
int guild_id;
|
||||
short storage_amount;
|
||||
struct item items[MAX_GUILD_STORAGE];
|
||||
bool locked;
|
||||
int opened; /// Holds the char_id that open the storage
|
||||
bool dirty; ///< Dirty status, need to be saved
|
||||
int guild_id; ///< Guild ID
|
||||
short storage_amount; ///< Amount of item on storage
|
||||
struct item items[MAX_GUILD_STORAGE]; ///< Item entries
|
||||
bool locked; ///< If locked, can't use storage when item bound retrieval
|
||||
uint32 opened; ///< Holds the char_id that open the storage
|
||||
};
|
||||
|
||||
struct s_pet {
|
||||
|
Loading…
x
Reference in New Issue
Block a user