From 6fada952c03288b91dbfd308f50596561dd271c6 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 13 Jan 2003 15:06:58 +0000 Subject: indention fix svn-id: r6445 --- scumm/object.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'scumm') 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; } -- cgit v1.2.3