aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/vga13h.cpp
diff options
context:
space:
mode:
authoruruk2014-07-29 11:20:20 +0200
committeruruk2014-07-29 11:20:20 +0200
commite828be1bf9ea8ac3cba5c46a8c7a838e06dca198 (patch)
tree1beb1cca6993a98641e67d893a02fb29c3643f8a /engines/cge2/vga13h.cpp
parent375a7c3b15ef68e95d7169973f7aaf144d7a35ac (diff)
downloadscummvm-rg350-e828be1bf9ea8ac3cba5c46a8c7a838e06dca198.tar.gz
scummvm-rg350-e828be1bf9ea8ac3cba5c46a8c7a838e06dca198.tar.bz2
scummvm-rg350-e828be1bf9ea8ac3cba5c46a8c7a838e06dca198.zip
CGE2: Initialize Vga::_rot properly.
Diffstat (limited to 'engines/cge2/vga13h.cpp')
-rw-r--r--engines/cge2/vga13h.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/cge2/vga13h.cpp b/engines/cge2/vga13h.cpp
index 856ee68faf..1a8597392e 100644
--- a/engines/cge2/vga13h.cpp
+++ b/engines/cge2/vga13h.cpp
@@ -827,6 +827,11 @@ bool Queue::locate(Sprite *spr) {
}
Vga::Vga(CGE2Engine *vm) : _frmCnt(0), _msg(nullptr), _name(nullptr), _setPal(false), _vm(vm) {
+ _rot._org = 1;
+ _rot._len = 0;
+ _rot._cnt = 0;
+ _rot._dly = 1;
+
_oldColors = nullptr;
_newColors = nullptr;
_showQ = new Queue(true);