diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-10-14 20:33:08 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-10-14 20:33:08 -0300 |
commit | 5f1bf020c53e714204cbade17f14e69117a907dc (patch) | |
tree | ae0bfbf1a884554848b1dd1eb37ced423b81d346 | |
parent | 723846089c2263da0c7ff5688bdb73675b05ac9c (diff) | |
download | plugin-5f1bf020c53e714204cbade17f14e69117a907dc.tar.gz plugin-5f1bf020c53e714204cbade17f14e69117a907dc.tar.bz2 plugin-5f1bf020c53e714204cbade17f14e69117a907dc.tar.xz plugin-5f1bf020c53e714204cbade17f14e69117a907dc.zip |
But gcc is fine with this implicit conversion... :roll_eyes:
-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 { |