diff --git a/source/games/duke/src/actors.cpp b/source/games/duke/src/actors.cpp index 662cd9108..2f5c403a0 100644 --- a/source/games/duke/src/actors.cpp +++ b/source/games/duke/src/actors.cpp @@ -5215,7 +5215,7 @@ void movefta(void) if (xx < 30000 / 16.) { act->timetosleep++; - if (act->timetosleep >= xx / 16.) + if (act->timetosleep >= int(xx / 16.)) { if (badguy(act)) {