diff options
author | Haru <haru@dotalux.com> | 2013-07-17 05:29:19 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-07-17 05:29:19 +0200 |
commit | 857e4fb58b26ea088c0ad92ec5b1ac9423ec1e65 (patch) | |
tree | d71a14fd519210ac9735f804e0bb7a046ff7cbd5 /src/map/atcommand.c | |
parent | f530cfe173bc5e9ac177adac0ae4aef33164838f (diff) | |
download | hercules-857e4fb58b26ea088c0ad92ec5b1ac9423ec1e65.tar.gz hercules-857e4fb58b26ea088c0ad92ec5b1ac9423ec1e65.tar.bz2 hercules-857e4fb58b26ea088c0ad92ec5b1ac9423ec1e65.tar.xz hercules-857e4fb58b26ea088c0ad92ec5b1ac9423ec1e65.zip |
Added missing initialization of some functions in the homunculus interface
- Fixes issue #7536 (thanks to jTynne for the report)
http://hercules.ws/board/tracker/issue-7536-map-crash-july-15th/
- Minor corrections to the other interfaces as well (reordered
initialization to follow the definitions, removed duplicate entry in
the skill interface initialization, commented out some unused entries)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 950961b29..29bd43d16 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -10260,9 +10260,9 @@ void atcommand_defaults(void) { atcommand->final = do_final_atcommand; atcommand->parse = is_atcommand; + atcommand->create = atcommand_hp_add; atcommand->can_use = atcommand_can_use; atcommand->can_use2 = atcommand_can_use2; - atcommand->create = atcommand_hp_add; atcommand->load_groups = atcommand_db_load_groups; atcommand->exists = atcommand_exists; atcommand->msg_read = msg_config_read; |