diff options
author | Haru <haru@dotalux.com> | 2018-04-08 22:14:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-08 22:14:05 +0200 |
commit | 21b56f6e44722e82405b78bee16a1a409743f58a (patch) | |
tree | 58df8a4d5c3648d71c6f2544a22777e951333858 /src/map/script.h | |
parent | dd6655709ea9f61cec8229d98fe9e4a9bc31bf14 (diff) | |
parent | 2bc4b4f09d00a92b28805eeeb5b5624064983255 (diff) | |
download | hercules-21b56f6e44722e82405b78bee16a1a409743f58a.tar.gz hercules-21b56f6e44722e82405b78bee16a1a409743f58a.tar.bz2 hercules-21b56f6e44722e82405b78bee16a1a409743f58a.tar.xz hercules-21b56f6e44722e82405b78bee16a1a409743f58a.zip |
Merge pull request #2009 from MishimaHaruna/sprintf-hooking-fix
Fix HPMHooking compilation when sprintf() is a macro
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.h b/src/map/script.h index 2dc3b2327..ede786481 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -909,7 +909,7 @@ struct script_interface { int (*buildin_mobuseskill_sub) (struct block_list *bl, va_list ap); int (*cleanfloor_sub) (struct block_list *bl, va_list ap); int (*run_func) (struct script_state *st); - bool (*sprintf) (struct script_state *st, int start, struct StringBuf *out); + bool (*sprintf_helper) (struct script_state *st, int start, struct StringBuf *out); const char *(*getfuncname) (struct script_state *st); // for ENABLE_CASE_CHECK unsigned int (*calc_hash_ci) (const char *p); |