diff options
Diffstat (limited to 'engines/avalanche/lucerna2.cpp')
-rw-r--r-- | engines/avalanche/lucerna2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/avalanche/lucerna2.cpp b/engines/avalanche/lucerna2.cpp index 5d60c75cd1..d75468d99c 100644 --- a/engines/avalanche/lucerna2.cpp +++ b/engines/avalanche/lucerna2.cpp @@ -245,8 +245,8 @@ void Lucerna::load(byte n) { /* Load2, actually */ Graphics::Surface background; - uint16 backgroundWidht = _vm->_graph._screenWidth; - byte backgroundHeight = 8 * 12080 / _vm->_graph._screenWidth; // With 640 width it's 151 + uint16 backgroundWidht = _vm->_graph.kScreenWidth; + byte backgroundHeight = 8 * 12080 / _vm->_graph.kScreenWidth; // With 640 width it's 151 // The 8 = number of bits in a byte, and 12080 comes from the original code (see above) background.create(backgroundWidht, backgroundHeight, Graphics::PixelFormat::createFormatCLUT8()); |