aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/cursor.cpp
diff options
context:
space:
mode:
authorKamil Zbróg2013-11-11 12:00:19 +0000
committerKamil Zbróg2013-11-11 12:00:19 +0000
commit87e2229df264c36dd2809eb85544b9377e0ddfd5 (patch)
tree6afa634584d9f1b2543b02208e3d3c2455ea84d8 /engines/prince/cursor.cpp
parentbd59732ce20df7d62b74b9a88bf510e4e2305c54 (diff)
downloadscummvm-rg350-87e2229df264c36dd2809eb85544b9377e0ddfd5.tar.gz
scummvm-rg350-87e2229df264c36dd2809eb85544b9377e0ddfd5.tar.bz2
scummvm-rg350-87e2229df264c36dd2809eb85544b9377e0ddfd5.zip
PRINCE: initroom from debugger
Diffstat (limited to 'engines/prince/cursor.cpp')
-rw-r--r--engines/prince/cursor.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/prince/cursor.cpp b/engines/prince/cursor.cpp
index 414e7ce397..865ae99cad 100644
--- a/engines/prince/cursor.cpp
+++ b/engines/prince/cursor.cpp
@@ -44,9 +44,8 @@ bool Cursor::loadFromStream(Common::SeekableReadStream &stream) {
_surface = new Graphics::Surface();
_surface->create(w, h, Graphics::PixelFormat::createFormatCLUT8());
- for (int ih = 0; ih < h; ++ih) {
+ for (int ih = 0; ih < h; ++ih)
stream.read(_surface->getBasePtr(0, ih), w);
- }
return true;
}