aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/scrolls2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/scrolls2.cpp')
-rw-r--r--engines/avalanche/scrolls2.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/avalanche/scrolls2.cpp b/engines/avalanche/scrolls2.cpp
index 8bf53cbed1..d4a7752e6e 100644
--- a/engines/avalanche/scrolls2.cpp
+++ b/engines/avalanche/scrolls2.cpp
@@ -147,8 +147,7 @@ void Scrolls::geticon(int16 x, int16 y, byte which) {
f.seek(which * 426);
p = new byte[426];
- for (int16 i = 0; i < 426; i++)
- p[i] = f.readByte();
+ f.read(p, 426);
//putimage(x, y, p, 0);
warning("STUB: Scrolls::geticon()");