diff options
Diffstat (limited to 'engines/cine')
-rw-r--r-- | engines/cine/anim.cpp | 2 | ||||
-rw-r--r-- | engines/cine/script_fw.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/engines/cine/anim.cpp b/engines/cine/anim.cpp index 11ea4ea25c..049f22e7cf 100644 --- a/engines/cine/anim.cpp +++ b/engines/cine/anim.cpp @@ -208,7 +208,7 @@ AnimData::AnimData(const AnimData &src) : _width(src._width), memcpy(_data, src._data, _size*sizeof(byte)); } - if(src._mask) { + if (src._mask) { _mask = new byte[_size]; assert(_mask); memcpy(_mask, src._mask, _size*sizeof(byte)); diff --git a/engines/cine/script_fw.cpp b/engines/cine/script_fw.cpp index f594596e6d..e90dd6f151 100644 --- a/engines/cine/script_fw.cpp +++ b/engines/cine/script_fw.cpp @@ -428,7 +428,8 @@ int RawScript::getNextLabel(const FWScriptInfo &info, int offset) const { case 'l': // label return pos; case 's': // string - while (_data[pos++] != 0); + while (_data[pos++] != 0) + ; break; case 'x': // exit script return -pos-1; |