diff options
author | Johannes Schickel | 2010-10-09 11:11:26 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-10-09 11:11:26 +0000 |
commit | eef9f7b57b493cfb7712fd47cb961d16e8ce878d (patch) | |
tree | 956c6c3b07a9c37495d437c3718485cf4188c72d /engines/toon/hotspot.cpp | |
parent | 20e6baca22dad668a71f6632b570dc73d5548521 (diff) | |
download | scummvm-rg350-eef9f7b57b493cfb7712fd47cb961d16e8ce878d.tar.gz scummvm-rg350-eef9f7b57b493cfb7712fd47cb961d16e8ce878d.tar.bz2 scummvm-rg350-eef9f7b57b493cfb7712fd47cb961d16e8ce878d.zip |
TOON: Ran astyle over the toon engine (+ some manual corrections).
svn-id: r53098
Diffstat (limited to 'engines/toon/hotspot.cpp')
-rw-r--r-- | engines/toon/hotspot.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/toon/hotspot.cpp b/engines/toon/hotspot.cpp index d29e4f55a6..3ddda1450b 100644 --- a/engines/toon/hotspot.cpp +++ b/engines/toon/hotspot.cpp @@ -42,7 +42,7 @@ void Hotspots::load(Common::ReadStream *Stream) { for (int32 i = 0; i < _numItems; i++) { for (int32 a = 0; a < 256; a++) - _items[i].setData(a,Stream->readSint16BE()); + _items[i].setData(a, Stream->readSint16BE()); } } @@ -104,7 +104,7 @@ bool Hotspots::LoadRif(Common::String rifName, Common::String additionalRifName) uint32 size = 0; uint8 *rifData = _vm->resources()->getFileData(rifName, &size); - if (!rifData) + if (!rifData) return false; uint32 size2 = 0; @@ -121,7 +121,7 @@ bool Hotspots::LoadRif(Common::String rifName, Common::String additionalRifName) _numItems = (rifsize + rifsize2) / 512; - if (_items) + if (_items) delete[] _items; _items = new HotspotData[_numItems]; |