summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/itemdb.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 2e7613853..bc21c8015 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2008/04/27
+ * Fixed "suggest parentheses around assignment ..." gcc warning [Toms]
* Some major changes to @reloaditemdb to allow unloading of any item
while map server is running.
- Delete any item from inventory/cart/open storages that went missing
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index 4ff0b6f24..979ba4a39 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -1115,7 +1115,7 @@ static int itemdb_reload_check(DBKey key,void *data,va_list ap)
}
//Delete storage
- if(stor = account2storage2(sd->status.account_id))
+ if((stor = account2storage2(sd->status.account_id)))
{
//If storage isn't found, it will be deleted whenever storage is loaded again
if(stor)