aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorTravis Howell2003-10-24 02:26:41 +0000
committerTravis Howell2003-10-24 02:26:41 +0000
commit4e78623eb25ac7c9affdc3bf00b796272dfae78b (patch)
treec249edd2dccaa67c17554d2344731d58f3907ef1 /simon
parent7772adbe1ebf8926029e17e7e583158144d67942 (diff)
downloadscummvm-rg350-4e78623eb25ac7c9affdc3bf00b796272dfae78b.tar.gz
scummvm-rg350-4e78623eb25ac7c9affdc3bf00b796272dfae78b.tar.bz2
scummvm-rg350-4e78623eb25ac7c9affdc3bf00b796272dfae78b.zip
VC warnings
svn-id: r10953
Diffstat (limited to 'simon')
-rw-r--r--simon/simon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 24c5f6f64b..d0ededcccb 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -2885,7 +2885,7 @@ void SimonEngine::o_file_error(FillOrCopyStruct *fcs, bool save_error) {
video_putchar(fcs, *string);
ha = findEmptyHitArea();
- ha->x = (fcs->width >> 1) + fcs->x - 3 << 3;
+ ha->x = ((fcs->width >> 1) + (fcs->x - 3)) << 3;
ha->y = (fcs->height << 3) + fcs->y - 8;
ha->width = 48;
ha->height = 8;