diff --git a/engines/ultima/ultima4/game/armor.cpp b/engines/ultima/ultima4/game/armor.cpp index 194452c4edb..4536b0b2af0 100644 --- a/engines/ultima/ultima4/game/armor.cpp +++ b/engines/ultima/ultima4/game/armor.cpp @@ -81,7 +81,7 @@ void Armors::loadConf() { /*-------------------------------------------------------------------*/ Armor::Armor(ArmorType armorType, const ConfigElement &conf) : - _type(armorType), _canUse(0xff), _mask(0) { + _type(armorType), _canUse(0xff) /*, _mask(0) */ { _name = conf.getString("name"); _defense = conf.getInt("defense"); diff --git a/engines/ultima/ultima4/game/armor.h b/engines/ultima/ultima4/game/armor.h index ae676b41a1a..0135d3c0f26 100644 --- a/engines/ultima/ultima4/game/armor.h +++ b/engines/ultima/ultima4/game/armor.h @@ -58,7 +58,7 @@ private: Common::String _name; byte _canUse; int _defense; - unsigned short _mask; + //unsigned short _mask; }; class Armors : public Std::vector { diff --git a/engines/ultima/ultima4/gfx/screen.cpp b/engines/ultima/ultima4/gfx/screen.cpp index 5bdaf6d5ae7..02bc8194877 100644 --- a/engines/ultima/ultima4/gfx/screen.cpp +++ b/engines/ultima/ultima4/gfx/screen.cpp @@ -58,8 +58,8 @@ Screen *g_screen; Screen::Screen() : _filterScaler(nullptr), _currentMouseCursor(-1), _gemLayout(nullptr), _tileAnims(nullptr), _charSetInfo(nullptr), _gemTilesInfo(nullptr), _needPrompt(1), _currentCycle(0), - _cursorStatus(0), _cursorEnabled(1), _priorFrameTime(0), - _continueScreenRefresh(true) { + _cursorStatus(0), _cursorEnabled(1), _priorFrameTime(0) + /* , _continueScreenRefresh(true) */ { g_screen = this; Common::fill(&_mouseCursors[0], &_mouseCursors[5], (MouseCursorSurface *)nullptr); Common::fill(&_los[0][0], &_los[0][0] + (VIEWPORT_W * VIEWPORT_H), 0); diff --git a/engines/ultima/ultima4/gfx/screen.h b/engines/ultima/ultima4/gfx/screen.h index 6a595553fd9..3ff5d1ccdca 100644 --- a/engines/ultima/ultima4/gfx/screen.h +++ b/engines/ultima/ultima4/gfx/screen.h @@ -118,7 +118,7 @@ private: int _cursorStatus; int _cursorEnabled; int _los[VIEWPORT_W][VIEWPORT_H]; - bool _continueScreenRefresh; + //bool _continueScreenRefresh; uint32 _priorFrameTime; public: