- 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://svn.code.sf.net/p/rathena/svn/trunk@8399 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -5430,9 +5430,7 @@ int buildin_delitem(struct script_state *st)
|
||||
}
|
||||
//is this item important? does it have cards? or Player's name? or Refined/Upgraded
|
||||
if(itemdb_isspecial(sd->status.inventory[i].card[0]) ||
|
||||
sd->status.inventory[i].card[1] ||
|
||||
sd->status.inventory[i].card[2] ||
|
||||
sd->status.inventory[i].card[3] ||
|
||||
sd->status.inventory[i].card[0] ||
|
||||
sd->status.inventory[i].refine) {
|
||||
//this is important item, count it (except for pet eggs)
|
||||
if(sd->status.inventory[i].card[0] != CARD0_PET)
|
||||
|
||||
Reference in New Issue
Block a user