diff options
Diffstat (limited to 'engines/hdb')
-rw-r--r-- | engines/hdb/ai.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/draw-manager.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/lua-script.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/hdb/ai.cpp b/engines/hdb/ai.cpp index f0c73f0f20..1de95be9e7 100644 --- a/engines/hdb/ai.cpp +++ b/engines/hdb/ai.cpp @@ -106,7 +106,7 @@ void AI::processCines() { break; case C_FADEIN: if (!(*it)->start) { - g_hdb->_drawMan->setFade(true, (bool) (*it)->end, (*it)->speed); + g_hdb->_drawMan->setFade(true, (bool)(*it)->end, (*it)->speed); (*it)->start = 1; } else if (!g_hdb->_drawMan->isFadeActive()) { complete = true; diff --git a/engines/hdb/draw-manager.cpp b/engines/hdb/draw-manager.cpp index 4b48acb2b1..a5559a2736 100644 --- a/engines/hdb/draw-manager.cpp +++ b/engines/hdb/draw-manager.cpp @@ -281,7 +281,7 @@ Graphics::Surface Picture::load(Common::SeekableReadStream *stream) { uint16 *ptr; for (uint y = 0; y < _height; y++) { - ptr = (uint16 *) _surface.getBasePtr(0, y); + ptr = (uint16 *)_surface.getBasePtr(0, y); for (uint x = 0; x < _width; x++) { *ptr = TO_LE_16(stream->readUint16LE()); ptr++; diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp index 90aadd8aa9..fe83d17c94 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -70,7 +70,7 @@ bool LuaScript::init() { static int cineStart(lua_State *L) { double abortable = lua_tonumber(L, 1); - char *abortFunc = (char *) lua_tostring(L, 2); + char *abortFunc = (char *)lua_tostring(L, 2); g_hdb->_lua->checkParameters("cineStart", 2); |