aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/movie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sludge/movie.cpp')
-rw-r--r--engines/sludge/movie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sludge/movie.cpp b/engines/sludge/movie.cpp
index da6eb7f203..06defc4620 100644
--- a/engines/sludge/movie.cpp
+++ b/engines/sludge/movie.cpp
@@ -155,7 +155,7 @@ inline static int audio_queue_get(audioQueue *q, char **buffer) {
if (audioBuf) {
// Synch video timer to audio
Uint32 tick = SDL_GetTicks() + 100;
- if (abs((long int)((tick - movieStartTick) - (audioBuf->time_ms))) > 300) {
+ if (ABS((long int)((tick - movieStartTick) - (audioBuf->time_ms))) > 300) {
movieStartTick = tick - audioBuf->time_ms;
}