summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorDennis Friis <peavey@inspircd.org>2009-06-22 02:00:32 +0200
committerDennis Friis <peavey@inspircd.org>2009-06-25 01:13:20 +0200
commit0387c5fcb62bf6f4a18f02b9d637d3e0d9f8dfad (patch)
treef52fda2c971f6e29013093482352144dac2be3dc /src/map
parent7530295a0ed821fdd50f89ed0c22fdd0f801b454 (diff)
downloadtmwa-0387c5fcb62bf6f4a18f02b9d637d3e0d9f8dfad.tar.gz
tmwa-0387c5fcb62bf6f4a18f02b9d637d3e0d9f8dfad.tar.bz2
tmwa-0387c5fcb62bf6f4a18f02b9d637d3e0d9f8dfad.tar.xz
tmwa-0387c5fcb62bf6f4a18f02b9d637d3e0d9f8dfad.zip
Synchronise storage when saving character. Patch from ea stable.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/chrif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index ad3018e..b27ad88 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -111,6 +111,8 @@ int chrif_save(struct map_session_data *sd)
memcpy(WFIFOP(char_fd,12), &sd->status, sizeof(sd->status));
WFIFOSET(char_fd, WFIFOW(char_fd,2));
+ storage_storage_save(sd); // to synchronise storage with character [Yor]
+
return 0;
}