implementation of round func

This commit is contained in:
Pawel Kolodziejski 2004-02-22 18:40:29 +00:00
parent 5739af6ab8
commit b2a0e57574
2 changed files with 4 additions and 6 deletions

View file

@ -78,7 +78,7 @@ static inline Sound *check_sound(int num) {
static inline int check_int(int num) {
double val = luaL_check_number(num);
return int(ROUND(val));
return int(round(val));
}
static inline int check_control(int num) {