Index: Games/Pingus/src/actions/bridger.cxx =================================================================== RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/bridger.cxx,v retrieving revision 1.17 diff -u -r1.17 bridger.cxx --- Games/Pingus/src/actions/bridger.cxx 24 Sep 2002 17:03:28 -0000 1.17 +++ Games/Pingus/src/actions/bridger.cxx 30 Sep 2002 23:48:32 -0000 @@ -190,10 +190,11 @@ { bool brick_allowed = true; - // Don't allow a brick to be placed if a Pingu would have a head collision - // if it walked along the whole of the brick. Otherwise the Pingu, - // especially a walker, could get stuck between the brick and the ceiling. - for (int x_inc = 1; x_inc <= brick_length; ++x_inc) + // Check along as much of the brick as possible to see if a Pingu would have + // a head collision if it walked along the brick. Only check up to where + // the Bridger would walk to, otherwise a brick cannot be placed partially + // through a wall. + for (int x_inc = 1; x_inc <= 4; ++x_inc) { if (head_collision_on_walk(x_inc, 2)) {