aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-01-13 15:06:58 +0000
committerMax Horn2003-01-13 15:06:58 +0000
commit6fada952c03288b91dbfd308f50596561dd271c6 (patch)
tree8ad0b4505cc63af68d6637adcad0547c1b5c3581 /scumm
parent82347203a799444c8ef1f7ef5e9e07a8ef860704 (diff)
downloadscummvm-rg350-6fada952c03288b91dbfd308f50596561dd271c6.tar.gz
scummvm-rg350-6fada952c03288b91dbfd308f50596561dd271c6.tar.bz2
scummvm-rg350-6fada952c03288b91dbfd308f50596561dd271c6.zip
indention fix
svn-id: r6445
Diffstat (limited to 'scumm')
-rw-r--r--scumm/object.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index 2419e2581a..b8994dc6e3 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -445,12 +445,12 @@ void Scumm::loadRoomObjects()
_objs[i].obj_nr = 0;
_objs[i].fl_object_index = 0;
} else {
- // Nuke all unlocked flObjects
- if (!(res.flags[rtFlObject][_objs[i].fl_object_index] & RF_LOCK)) {
- nukeResource(rtFlObject, _objs[i].fl_object_index);
- _objs[i].obj_nr = 0;
- _objs[i].fl_object_index = 0;
- }
+ // Nuke all unlocked flObjects
+ if (!(res.flags[rtFlObject][_objs[i].fl_object_index] & RF_LOCK)) {
+ nukeResource(rtFlObject, _objs[i].fl_object_index);
+ _objs[i].obj_nr = 0;
+ _objs[i].fl_object_index = 0;
+ }
}
}
@@ -607,7 +607,7 @@ void Scumm::setupRoomObject(ObjectData *od, byte *room, byte *searchptr)
od->obj_nr = READ_LE_UINT16(ptr + 6); // ok
- od->width = *(ptr + 11) << 3; // ok
+ od->width = *(ptr + 11) << 3; // ok
od->x_pos = *(ptr + 9) << 3; // ok
if (*(ptr + 10) & 0x80) {
@@ -1630,8 +1630,8 @@ int Scumm::findLocalObjectSlot()
{
int i;
- for (i = 1; i < _numLocalObjects; i++) {
- if (!_objs[i].obj_nr)
+ for (i = 1; i < _numLocalObjects; i++) {
+ if (!_objs[i].obj_nr)
return i;
}