Index: src/ActionButton.cc =================================================================== RCS file: /usr/local/cvsroot/Games/Pingus/src/ActionButton.cc,v retrieving revision 1.22 diff -u -r1.22 ActionButton.cc --- src/ActionButton.cc 2001/12/06 10:50:39 1.22 +++ src/ActionButton.cc 2001/12/07 05:18:14 @@ -270,7 +270,7 @@ && CL_Mouse::get_x() > x_pos && CL_Mouse::get_x() < x_pos + 60 && CL_Mouse::get_y() < y_pos + 35 && CL_Mouse::get_y() > y_pos) { - font_b->print_left (61, y_pos, name.c_str()); + font_b->print_left (x_pos + 61, y_pos, name.c_str()); } surface.put_screen(x_pos + 3, y_pos + 1, action_c); Index: src/actions/Faller.cc =================================================================== RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/Faller.cc,v retrieving revision 1.6 diff -u -r1.6 Faller.cc --- src/actions/Faller.cc 2001/12/06 10:50:40 1.6 +++ src/actions/Faller.cc 2001/12/07 05:18:45 @@ -31,6 +31,11 @@ { faller = Sprite("Pingus/faller" + to_string(pingu->owner_id), "pingus"); faller.set_align_center_bottom (); + + // FIXME: we can save some cpu cycles & memory if we do this when it + // is necessary + tumbler = Sprite("Pingus/tumble" + to_string(pingu->owner_id), "pingus"); + tumbler.set_align_center_bottom (); } void @@ -90,7 +95,7 @@ } else // Ping is on ground { - if (rel_getpixel(0, -1) == ColMap::WATER) + if (rel_getpixel(0, -1) & ColMap::WATER) { pingu->set_paction("drown"); return; Index: src/actions/Walker.cc =================================================================== RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/Walker.cc,v retrieving revision 1.7 diff -u -r1.7 Walker.cc --- src/actions/Walker.cc 2001/12/06 10:50:40 1.7 +++ src/actions/Walker.cc 2001/12/07 05:18:47 @@ -51,7 +51,7 @@ for(y_inc=1; y_inc <= max_steps; y_inc++) if (rel_getpixel(1, y_inc) == ColMap::NOTHING) break; - pingu->pos.y -= --y_inc; + pingu->pos.y -= y_inc; pingu->pos.x += pingu->direction; } else