summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-07-17 05:29:19 +0200
committerHaru <haru@dotalux.com>2013-07-17 05:29:19 +0200
commit857e4fb58b26ea088c0ad92ec5b1ac9423ec1e65 (patch)
treed71a14fd519210ac9735f804e0bb7a046ff7cbd5 /src/map/pc.h
parentf530cfe173bc5e9ac177adac0ae4aef33164838f (diff)
downloadhercules-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/pc.h')
-rw-r--r--src/map/pc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 58dd85083..c21258dd7 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -752,7 +752,7 @@ struct pc_interface {
int (*class2idx) (int class_);
int (*get_group_level) (struct map_session_data *sd);
- int (*getrefinebonus) (int lv,int type);
+ //int (*getrefinebonus) (int lv,int type); FIXME: This function does not exist, nor it is ever called
bool (*can_give_items) (struct map_session_data *sd);
bool (*can_use_command) (struct map_session_data *sd, const char *command);