summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-02 01:49:27 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-02 01:49:27 +0000
commit80ee93f183303ccc188fdc587bd25330a192b4e6 (patch)
tree20633bcdda78d66281cfeea577d202132877f9f4 /src/map/npc.c
parentc9fa0221f3c171550b99772b2c3eafec0e02bbb8 (diff)
downloadhercules-80ee93f183303ccc188fdc587bd25330a192b4e6.tar.gz
hercules-80ee93f183303ccc188fdc587bd25330a192b4e6.tar.bz2
hercules-80ee93f183303ccc188fdc587bd25330a192b4e6.tar.xz
hercules-80ee93f183303ccc188fdc587bd25330a192b4e6.zip
- Fixed passive mobs becoming increasingly unlikely to retaliate to attacks after they got inflicted by a disabling status change.
- Changed the "is_boss" define to check for mode MD_BOSS instead of giving mvp exp. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9384 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index fe01a7ded..fbedef5da 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2153,10 +2153,6 @@ static int npc_parse_function (char *w1, char *w2, char *w3, char *w4, char *fir
oldscript = (struct script_code *)strdb_get(user_db, p);
if(oldscript != NULL) {
printf("\r"); //Carriage return to clear the 'loading..' line. [Skotlex]
- //ShowWarning("parse_function: Duplicate user function [%s] (%s:%d)\n", p, file, *lines);
- //aFree(p);
- //script_free_code(script);
- // Experimental function overwriting - [Lance]
ShowInfo("parse_function: Overwriting user function [%s] (%s:%d)\n", p, file, *lines);
script_free_code(oldscript);
user_db->remove(user_db,str2key(p));