aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v6he.cpp')
-rw-r--r--scumm/script_v6he.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp
index 065da9541b..74f4a80486 100644
--- a/scumm/script_v6he.cpp
+++ b/scumm/script_v6he.cpp
@@ -1151,37 +1151,6 @@ void ScummEngine_v6he::o6_setVolume() {
}
}
-void ScummEngine_v6he::o6_unknownE1() {
- int x = pop();
- int y = pop();
-
- if (x > _screenWidth - 1) {
- push(-1);
- return;
- }
- if (x < 0) {
- push(-1);
- return;
- }
-
- if (y < 0) {
- push(-1);
- return;
- }
-
- VirtScreen *vs = findVirtScreen(y);
-
- if (vs == NULL) {
- push(-1);
- return;
- }
-
- int offset = (y - vs->topline) * vs->width + x + _screenLeft;
-
- byte area = *(vs->screenPtr + offset);
- push(area);
-}
-
void ScummEngine_v6he::o6_localizeArray() {
int stringID = pop();