summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-12-02 10:30:10 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-12-02 10:30:10 +0000
commit4afe95f6ad237ebddbc913f9e02dd1bbd4fb28b9 (patch)
tree3bb5818ac995b3853d9f0cd46de07542eddc2c4e /src/map/status.c
parentaefb12e53cbeed61558283309a5f8e2f31963fdb (diff)
downloadhercules-4afe95f6ad237ebddbc913f9e02dd1bbd4fb28b9.tar.gz
hercules-4afe95f6ad237ebddbc913f9e02dd1bbd4fb28b9.tar.bz2
hercules-4afe95f6ad237ebddbc913f9e02dd1bbd4fb28b9.tar.xz
hercules-4afe95f6ad237ebddbc913f9e02dd1bbd4fb28b9.zip
* Autobonus code cleanups.
- removed the 'script_parsed' flag to fix the issues with combo items. - introduced a global cache for autobonus scripts so that we don't have to parse scripts everytime invoking status_calc_bl. - fixed such script commands as 'getrefine()' not working inside autobonus scripts. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14180 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 0870340eb..2017a12fc 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1871,7 +1871,6 @@ int status_calc_pc_(struct map_session_data* sd, bool first)
if(first && sd->inventory_data[index]->equip_script)
{ //Execute equip-script on login
run_script(sd->inventory_data[index]->equip_script,0,sd->bl.id,0);
- sd->state.script_parsed |= sd->status.inventory[index].equip;
if (!calculating)
return 1;
}