aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/res.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2007-02-22 08:17:41 +0000
committerPaul Gilbert2007-02-22 08:17:41 +0000
commit0c899f82ab32c4d9da3700bbf54201db620c2ec4 (patch)
treead2f883cad43ba58b3dc6647697219cd260c2d66 /engines/lure/res.cpp
parent7ac767a2bae0bcc97bd46a7a29ced6b21dbc12a3 (diff)
downloadscummvm-rg350-0c899f82ab32c4d9da3700bbf54201db620c2ec4.tar.gz
scummvm-rg350-0c899f82ab32c4d9da3700bbf54201db620c2ec4.tar.bz2
scummvm-rg350-0c899f82ab32c4d9da3700bbf54201db620c2ec4.zip
Syntax fixes to conform to ScummVM coding standards
svn-id: r25781
Diffstat (limited to 'engines/lure/res.cpp')
-rw-r--r--engines/lure/res.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/lure/res.cpp b/engines/lure/res.cpp
index 6277dab4c9..0ad28bbb86 100644
--- a/engines/lure/res.cpp
+++ b/engines/lure/res.cpp
@@ -287,8 +287,7 @@ void Resources::reloadData() {
// Next load up the list of random actions your follower can do in each room
++offset;
- while (READ_LE_UINT16(offset) != 0xffff)
- {
+ while (READ_LE_UINT16(offset) != 0xffff) {
RandomActionSet *actionSet = new RandomActionSet(offset);
_randomActions.push_back(actionSet);
}
@@ -535,8 +534,7 @@ Hotspot *Resources::activateHotspot(uint16 hotspotId) {
/*
if ((hotspot->hotspotId() >= RATPOUCH_ID) &&
(hotspot->hotspotId() < FIRST_NONCHARACTER_ID) &&
- (hotspot->roomNumber() < 42))
- {
+ (hotspot->roomNumber() < 42)) {
// Start wandering characters off in room 24
hotspot->setRoomNumber(24);
hotspot->setPosition(64, 116);