aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index 04cde129fa..948d73b7f5 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -603,7 +603,7 @@ void ScummEngine::drawStripToScreen(VirtScreen *vs, int x, int width, int top, i
// The values x, width, etc. are all multiples of 8 at this point,
// so loop unrolloing might be a good idea...
- assert(0 == ((long)text & 3));
+ assert(IS_ALIGNED(text, 4));
assert(0 == (width & 3));
// Compose the text over the game graphics