aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/people.h
diff options
context:
space:
mode:
authorStrangerke2015-05-07 19:33:44 +0200
committerStrangerke2015-05-07 19:33:44 +0200
commitd9e93f8e015ce27a95090e854494c4b3f7d1c0d4 (patch)
tree18e04f1670f0d944606f63264dd972b398dab4e9 /engines/sherlock/people.h
parenta0661c8d5a970791a6fac3e304fe975e8e61b5f9 (diff)
downloadscummvm-rg350-d9e93f8e015ce27a95090e854494c4b3f7d1c0d4.tar.gz
scummvm-rg350-d9e93f8e015ce27a95090e854494c4b3f7d1c0d4.tar.bz2
scummvm-rg350-d9e93f8e015ce27a95090e854494c4b3f7d1c0d4.zip
SHERLOCK: some code formatting
Diffstat (limited to 'engines/sherlock/people.h')
-rw-r--r--engines/sherlock/people.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/sherlock/people.h b/engines/sherlock/people.h
index f1ed3496a1..01ecd1a09a 100644
--- a/engines/sherlock/people.h
+++ b/engines/sherlock/people.h
@@ -32,11 +32,11 @@ namespace Sherlock {
// People definitions
enum PeopleId {
- PLAYER = 0,
- AL = 0,
- PEG = 1,
+ PLAYER = 0,
+ AL = 0,
+ PEG = 1,
NUM_OF_PEOPLE = 2, // Holmes and Watson
- MAX_PEOPLE = 66 // Total of all NPCs
+ MAX_PEOPLE = 66 // Total of all NPCs
};
// Animation sequence identifiers for characters
@@ -92,13 +92,13 @@ public:
People(SherlockEngine *vm);
~People();
- Person &operator[](PeopleId id) {
+ Person &operator[](PeopleId id) {
assert(id < NUM_OF_PEOPLE);
- return _data[id];
+ return _data[id];
}
- Person &operator[](int idx) {
+ Person &operator[](int idx) {
assert(idx < NUM_OF_PEOPLE);
- return _data[idx];
+ return _data[idx];
}
bool isHolmesActive() const { return _walkLoaded && _holmesOn; }