diff options
author | Strangerke | 2015-05-19 22:30:47 +0200 |
---|---|---|
committer | Strangerke | 2015-05-19 22:30:47 +0200 |
commit | 20d859377df416cee0da460d1bac600df09058bb (patch) | |
tree | 80730d4cc665a29f25e33d26265b6fa4dc77a408 /engines/sherlock/scalpel | |
parent | 456e0c584f2497b82b6be5f531f655b9681a11b8 (diff) | |
download | scummvm-rg350-20d859377df416cee0da460d1bac600df09058bb.tar.gz scummvm-rg350-20d859377df416cee0da460d1bac600df09058bb.tar.bz2 scummvm-rg350-20d859377df416cee0da460d1bac600df09058bb.zip |
SHERLOCK: Trim useless spaces and tabs
Diffstat (limited to 'engines/sherlock/scalpel')
-rw-r--r-- | engines/sherlock/scalpel/darts.cpp | 8 | ||||
-rw-r--r-- | engines/sherlock/scalpel/scalpel.h | 4 |
2 files changed, 5 insertions, 7 deletions
diff --git a/engines/sherlock/scalpel/darts.cpp b/engines/sherlock/scalpel/darts.cpp index 23ca95454f..96d272fed0 100644 --- a/engines/sherlock/scalpel/darts.cpp +++ b/engines/sherlock/scalpel/darts.cpp @@ -413,11 +413,9 @@ int Darts::doPowerBar(const Common::Point &pt, byte color, int goToPower, bool i if (sound._musicOn) { if (!(idx % 3)) sound.waitTimerRoland(1); - } else { - if (!(idx % 8)) - events.wait(1); - } - + } else if (!(idx % 8)) + events.wait(1); + ++idx; } while (!done); diff --git a/engines/sherlock/scalpel/scalpel.h b/engines/sherlock/scalpel/scalpel.h index 14e30ff996..8743bfb7a9 100644 --- a/engines/sherlock/scalpel/scalpel.h +++ b/engines/sherlock/scalpel/scalpel.h @@ -31,9 +31,9 @@ namespace Sherlock { namespace Scalpel { enum { BLACKWOOD_CAPTURE = 2, BAKER_STREET = 4, DRAWING_ROOM = 12, STATION = 17, PUB_INTERIOR = 19, - LAWYER_OFFICE = 27, BAKER_ST_EXTERIOR = 39, RESCUE_ANNA = 52, MOOREHEAD_DEATH = 53, EXIT_GAME = 55, + LAWYER_OFFICE = 27, BAKER_ST_EXTERIOR = 39, RESCUE_ANNA = 52, MOOREHEAD_DEATH = 53, EXIT_GAME = 55, BRUMWELL_SUICIDE = 70, OVERHEAD_MAP2 = 98, DARTS_GAME = 99, OVERHEAD_MAP = 100 }; - + class ScalpelEngine : public SherlockEngine { private: Darts *_darts; |