From d1719f670ffa77b6849bc97817b4d047c6970afd Mon Sep 17 00:00:00 2001 From: Kreustoo Date: Fri, 8 May 2020 14:28:14 +0200 Subject: [PATCH] Adds missing args for round/ceil/floor (#4899) * Fixes #4898. * Only missing one integer in parameter in BUILDIN_DEF2, already ready to read in the definition of the function. Thanks to @Kreustoo! --- src/map/script.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/map/script.cpp b/src/map/script.cpp index 388918fbc9..8b5ebd683e 100644 --- a/src/map/script.cpp +++ b/src/map/script.cpp @@ -25291,9 +25291,9 @@ struct script_function buildin_func[] = { BUILDIN_DEF(getequiprefinecost,"iii?"), - BUILDIN_DEF2(round, "round", "i"), - BUILDIN_DEF2(round, "ceil", "i"), - BUILDIN_DEF2(round, "floor", "i"), + BUILDIN_DEF2(round, "round", "ii"), + BUILDIN_DEF2(round, "ceil", "ii"), + BUILDIN_DEF2(round, "floor", "ii"), BUILDIN_DEF(getequiptradability, "i?"), BUILDIN_DEF(mail, "isss*"), BUILDIN_DEF(open_roulette,"?"),