diff options
-rw-r--r-- | .travis.yml | 3 | ||||
-rw-r--r-- | src/common/conf.c | 1 | ||||
-rw-r--r-- | src/map/pc.h | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index a7f6a789f..fe43d9b70 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,8 @@ before_script: - ./travis.sh importdb ragnarok travis - mysql -u root -e "SET PASSWORD FOR 'travis'@'localhost' = PASSWORD('travis');" -script: +script: + - cd tools && ./validateinterfaces.py silent - ./travis.sh build $CONFIGURE_FLAGS - ./travis.sh test ragnarok travis travis diff --git a/src/common/conf.c b/src/common/conf.c index 46a034497..34d1cacbf 100644 --- a/src/common/conf.c +++ b/src/common/conf.c @@ -146,6 +146,7 @@ void libconfig_defaults(void) { /* */ libconfig->setting_set_int = config_setting_set_int; libconfig->setting_set_int64 = config_setting_set_int64; + libconfig->setting_set_float = config_setting_set_float; libconfig->setting_set_bool = config_setting_set_bool; libconfig->setting_set_string = config_setting_set_string; /* */ diff --git a/src/map/pc.h b/src/map/pc.h index e613feec5..b7a0b099c 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -780,9 +780,6 @@ struct pc_interface { struct map_session_data* (*get_dummy_sd) (void); int (*class2idx) (int class_); - //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_give_bound_items) (struct map_session_data *sd); bool (*can_talk) (struct map_session_data *sd); bool (*can_attack) ( struct map_session_data *sd, int target_id ); |