Index: Games/Pingus/src/actions/digger.cxx =================================================================== RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/digger.cxx,v retrieving revision 1.22 diff -u -r1.22 digger.cxx --- Games/Pingus/src/actions/digger.cxx 4 Mar 2003 13:59:44 -0000 1.22 +++ Games/Pingus/src/actions/digger.cxx 7 Mar 2003 22:04:48 -0000 @@ -55,7 +55,14 @@ Digger::update () { sprite.update (); - + + if (rel_getpixel(0, -1) == Groundtype::GP_WATER + || rel_getpixel(0, -1) == Groundtype::GP_LAVA) + { + pingu->set_action(Actions::Drown); + return; + } + if (++digger_c >= 5) { digger_c = 0;