aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/screen.cpp')
-rw-r--r--engines/kyra/screen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp
index 31abb70746..29aa322a34 100644
--- a/engines/kyra/screen.cpp
+++ b/engines/kyra/screen.cpp
@@ -312,7 +312,7 @@ void Screen::copyRegion(int x1, int y1, int x2, int y2, int w, int h, int srcPag
if (flags & CR_X_FLIPPED) {
while (h--) {
for (int i = 0; i < w; ++i) {
- if (src[i]) {
+ if (src[i] || (flags & CR_NO_P_CHECK)) {
dst[w-i] = src[i];
}
}
@@ -322,7 +322,7 @@ void Screen::copyRegion(int x1, int y1, int x2, int y2, int w, int h, int srcPag
} else {
while (h--) {
for (int i = 0; i < w; ++i) {
- if (src[i]) {
+ if (src[i] || (flags & CR_NO_P_CHECK)) {
dst[i] = src[i];
}
}