diff options
-rw-r--r-- | src/emap/script_buildins.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c index 7bcd11a..89d835f 100644 --- a/src/emap/script_buildins.c +++ b/src/emap/script_buildins.c @@ -2366,8 +2366,8 @@ BUILDIN(getguildinfo) { mapreg->setreg(reference_uid(script->add_variable("$@guildinfo_lvl"), guild_id),g->guild_lv); mapreg->setreg(reference_uid(script->add_variable("$@guildinfo_avg"), guild_id),g->average_lv); - mapreg->setreg(reference_uid(script->add_variable("$@guildinfo_exp"), guild_id),g->exp); - mapreg->setreg(reference_uid(script->add_variable("$@guildinfo_nxp"), guild_id),g->next_exp); + mapreg->setreg(reference_uid(script->add_variable("$@guildinfo_exp"), guild_id), (int)(g->exp)); + mapreg->setreg(reference_uid(script->add_variable("$@guildinfo_nxp"), guild_id), (int)(g->next_exp)); } else { |