summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-21 14:05:24 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-21 14:05:24 +0000
commit74aac1368dae2d2a8ed5e3897a3cafb0fc5a8984 (patch)
tree0399235ad0454e7baa6ab1c93b5b338f9ef8bfa5 /src/map/pc.c
parent4d56e510be1ebe8075e3e186cf501c2fe8617952 (diff)
downloadhercules-74aac1368dae2d2a8ed5e3897a3cafb0fc5a8984.tar.gz
hercules-74aac1368dae2d2a8ed5e3897a3cafb0fc5a8984.tar.bz2
hercules-74aac1368dae2d2a8ed5e3897a3cafb0fc5a8984.tar.xz
hercules-74aac1368dae2d2a8ed5e3897a3cafb0fc5a8984.zip
- Fixed the Autosave routine not working when there's only one player online.
- Disabled command @rain since the client no longer supports it anyway. - Fixed delitem not checking for the first slot's card, also optimized it so that it doesn't checks on the other slots. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8399 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index befbce5f8..50e97249e 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -6858,7 +6858,7 @@ static int pc_autosave_sub(DBKey key,void * data,va_list app)
{
struct map_session_data *sd = (TBL_PC*)data;
- if(sd->bl.id == last_save_id) {
+ if(sd->bl.id == last_save_id && save_flag != 1) {
save_flag = 1;
return 1;
}