diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-28 16:09:13 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-28 16:09:13 +0000 |
commit | e07b2da8d90f955dbe01737e9bfdb73ddaa3bd83 (patch) | |
tree | 2b7773b750e46c8356556a11944f166f3fbbe627 /src/map/map.h | |
parent | 7ab2575a4a3499c642e315d860c82fed60e3d9bb (diff) | |
download | hercules-e07b2da8d90f955dbe01737e9bfdb73ddaa3bd83.tar.gz hercules-e07b2da8d90f955dbe01737e9bfdb73ddaa3bd83.tar.bz2 hercules-e07b2da8d90f955dbe01737e9bfdb73ddaa3bd83.tar.xz hercules-e07b2da8d90f955dbe01737e9bfdb73ddaa3bd83.zip |
- Cleaned up a bit the code for @item
- Fixed character/storage being sent to be saved TWICE when you logged out while the storage is opened.
- Added save_settings map config. Specifies after which events do characters get saved (defaults to all): 1 - Trade successful, 2 - Vending transaction, 4 - Closing storage/guild storage, 8 - hatching a pet.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7375 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h index 7cdbb00cf..a0d19f04e 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -1211,6 +1211,7 @@ struct chat_data { extern struct map_data map[];
extern int map_num;
extern int autosave_interval;
+extern int save_settings;
extern int agit_flag;
extern int night_flag; // 0=day, 1=night [Yor]
extern int kick_on_disconnect; //To allow inter-server reconnections without kicking players out [Skotlex]
|