diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-27 11:59:35 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-27 11:59:35 +0000 |
commit | 842984c9a12ca4d641314d3f1f5651c3a77d3f61 (patch) | |
tree | c174869a337e7ed47d09dd5bb8da508dc05484e1 /src/map/script.c | |
parent | c5887c263b96f9a3bf128b3b53e63d68ff6b9392 (diff) | |
download | hercules-842984c9a12ca4d641314d3f1f5651c3a77d3f61.tar.gz hercules-842984c9a12ca4d641314d3f1f5651c3a77d3f61.tar.bz2 hercules-842984c9a12ca4d641314d3f1f5651c3a77d3f61.tar.xz hercules-842984c9a12ca4d641314d3f1f5651c3a77d3f61.zip |
* Fixed TXT charserver doing periodic random-sized memory allocation (bugreport:312)
* Set 'Create Converter's produce success rate to 100% (bugreport:302)
* Added check that verifies weapon/ammo/state requirements also when casting finishes (might have unwanted side-effects tho'!) (bugreport:228)
* Fixed Firewall knocking back undead/fire element mobs (bug in r11578)
* Added dummy 'openmail' to txt server to fix a script error message
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11585 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/map/script.c b/src/map/script.c index d00d5f700..8b2464be4 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -4052,10 +4052,7 @@ BUILDIN_FUNC(undisguise); BUILDIN_FUNC(getmonsterinfo); // [Lupus] BUILDIN_FUNC(checkvending); // check vending [Nab4] BUILDIN_FUNC(checkchatting); // check chatting [Marka] - -#ifndef TXT_ONLY BUILDIN_FUNC(openmail); // [Mail System] -#endif #ifdef PCRE_SUPPORT BUILDIN_FUNC(defpattern); // MouseJstr @@ -4395,9 +4392,7 @@ struct script_function buildin_func[] = { BUILDIN_DEF(roclass,"i*"), //[Skotlex] BUILDIN_DEF(checkvending,"*"), BUILDIN_DEF(checkchatting,"*"), -#ifndef TXT_ONLY BUILDIN_DEF(openmail,""), -#endif {NULL,NULL,NULL}, }; @@ -13455,10 +13450,10 @@ BUILDIN_FUNC(warpportal) return 0; } -#ifndef TXT_ONLY BUILDIN_FUNC(openmail) { +#ifndef TXT_ONLY mail_openmail(script_rid2sd(st)); +#endif return 0; } -#endif |