diff options
author | Haru <haru@dotalux.com> | 2013-11-09 16:41:40 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-11-09 16:41:40 +0100 |
commit | 857bdc4f98be6cd1e185a24565d6b6b54752b9b4 (patch) | |
tree | 948d7b4ee8c991a128f5db2aa9df5b8ecf5ab37d /src/map/script.h | |
parent | 8ed38f98894fb04b4403b44dc0f36281cfd36326 (diff) | |
download | hercules-857bdc4f98be6cd1e185a24565d6b6b54752b9b4.tar.gz hercules-857bdc4f98be6cd1e185a24565d6b6b54752b9b4.tar.bz2 hercules-857bdc4f98be6cd1e185a24565d6b6b54752b9b4.tar.xz hercules-857bdc4f98be6cd1e185a24565d6b6b54752b9b4.zip |
Consolidated commands called in scripts to their lowercase version
- Added a note about variables and command scripts case sensitivity.
Even though the engine still accepts variable, function and command
names in a case insensitive way, it is discouraged to rely on such
behavior. Please update your custom scripts as soon as possible.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.h b/src/map/script.h index a846365dd..7fa8b92e4 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -621,8 +621,8 @@ struct script_interface { int (*buildin_maprespawnguildid_sub_pc) (struct map_session_data *sd, va_list ap); int (*buildin_maprespawnguildid_sub_mob) (struct block_list *bl, va_list ap); int (*buildin_mobcount_sub) (struct block_list *bl, va_list ap); - int (*playBGM_sub) (struct block_list *bl, va_list ap); - int (*playBGM_foreachpc_sub) (struct map_session_data *sd, va_list args); + int (*playbgm_sub) (struct block_list *bl, va_list ap); + int (*playbgm_foreachpc_sub) (struct map_session_data *sd, va_list args); int (*soundeffect_sub) (struct block_list *bl, va_list ap); int (*buildin_query_sql_sub) (struct script_state *st, Sql *handle); int (*axtoi) (const char *hexStg); |