summaryrefslogtreecommitdiff
path: root/src/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound.cpp')
-rw-r--r--src/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound.cpp b/src/sound.cpp
index d96adfe29..0d1547309 100644
--- a/src/sound.cpp
+++ b/src/sound.cpp
@@ -240,7 +240,7 @@ static void SndPlayScreenCoordFx(SoundID sound, int left, int right, int top, in
const Window *w;
FOR_ALL_WINDOWS_FROM_BACK(w) {
- const ViewPort *vp = w->viewport;
+ const Viewport *vp = w->viewport;
if (vp != nullptr &&
left < vp->virtual_left + vp->virtual_width && right > vp->virtual_left &&