diff options
author | Filippos Karapetis | 2014-10-14 00:31:38 +0300 |
---|---|---|
committer | Filippos Karapetis | 2014-10-14 00:35:01 +0300 |
commit | 9ca021a0d27acf1b9277509b7c0429634a3f0bc2 (patch) | |
tree | ab60327a0ec8491a9301dea71d357dc9cee8e1cf /engines/mads | |
parent | 126417ae990180a5656c2aca75b26d7e73d8603b (diff) | |
download | scummvm-rg350-9ca021a0d27acf1b9277509b7c0429634a3f0bc2.tar.gz scummvm-rg350-9ca021a0d27acf1b9277509b7c0429634a3f0bc2.tar.bz2 scummvm-rg350-9ca021a0d27acf1b9277509b7c0429634a3f0bc2.zip |
MADS: Properly skip empty lines in animation files
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/nebular/menu_nebular.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/nebular/menu_nebular.cpp b/engines/mads/nebular/menu_nebular.cpp index 355cef60a4..1cee544e34 100644 --- a/engines/mads/nebular/menu_nebular.cpp +++ b/engines/mads/nebular/menu_nebular.cpp @@ -953,7 +953,7 @@ void AnimationView::processLines() { _currentLine.clear(); char c; while (!_script.eos() && (c = _script.readByte()) != '\n') { - if (c != '\r') + if (c != '\r' && c != '\0') _currentLine += c; } |