From b353ae37eb6d374aec4127f1849a5dce81f812b5 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 24 Jun 2014 18:52:00 -0700 Subject: No one is .neutral() here (except IPv4 addresses) --- src/map/storage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/storage.cpp') diff --git a/src/map/storage.cpp b/src/map/storage.cpp index f8dbd0f..e9c2cd6 100644 --- a/src/map/storage.cpp +++ b/src/map/storage.cpp @@ -102,7 +102,7 @@ int storage_storageopen(dumb_ptr sd) */ static int storage_additem(dumb_ptr sd, Storage *stor, - struct item *item_data, int amount) + Item *item_data, int amount) { struct item_data *data; int i; @@ -157,7 +157,7 @@ int storage_delitem(dumb_ptr sd, Storage *stor, stor->storage_[n].amount -= amount; if (stor->storage_[n].amount == 0) { - stor->storage_[n] = item{}; + stor->storage_[n] = Item{}; stor->storage_amount--; clif_updatestorageamount(sd, stor); } -- cgit v1.2.3-70-g09d2