summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-20 15:54:11 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-20 15:54:11 +0000
commitdb09034d6836abbd1c8988cd0d07236e3c8f2bf1 (patch)
tree577cced26eef0a0d31d896f3cc1c83d6dd1a385d /src/map/script.h
parent71f3bdc9d000855ce363c8ef9f481c1526f8b480 (diff)
downloadhercules-db09034d6836abbd1c8988cd0d07236e3c8f2bf1.tar.gz
hercules-db09034d6836abbd1c8988cd0d07236e3c8f2bf1.tar.bz2
hercules-db09034d6836abbd1c8988cd0d07236e3c8f2bf1.tar.xz
hercules-db09034d6836abbd1c8988cd0d07236e3c8f2bf1.zip
- Added an answer to a FlavioJS's comment, and added a question myself (npc.c/script.c respectively)
- Fixed add_str in script.h not being updated to const char as well. But why do we really need such a script-engine low-level function exposed to the rest of files? :/ - Moved the strip unequip code to before deleting the timer, this fixes trying to "re-strip" someone causing the skill to fail and on top of that terminate their current strip effect. - Added an ugly work around to the issue of skills with additional effect causing opt1 status when they have just terminated them (in short, you shouldn't be able to hit someone with, say, sleep, and then have the same skill cause them stun, since both are opt1 values). - Reading of TK Mission variables will now happen if you are a TK-class character regardless of whether you know TK_MISSION or not. Should fix being able to reset skills to reset your Mission data. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9537 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 274bc9022..bc142c125 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -82,7 +82,7 @@ struct dbt* script_get_userfunc_db(void);
int script_config_read(char *cfgName);
int do_init_script(void);
int do_final_script(void);
-int add_str(const unsigned char *p);
+int add_str(const char *p);
int script_reload(void);
extern char mapreg_txt[];