Changeset 12


Ignore:
Timestamp:
Dec 17, 2005, 3:32:35 PM (14 years ago)
Author:
jtv
Message:

Reveal fatal patch when player dies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gamelogic.cxx

    r8 r12  
    416416    ++m_moves;
    417417    const Coords pos(row,col);
    418     if (p.mined() != as_mine) throw Boom(pos, m_moves, p.mined());
     418    if (p.mined() != as_mine)
     419    {
     420      reveal_patch(row,col);
     421      throw Boom(pos, m_moves, p.mined());
     422    }
    419423    set<Coords> worklist;
    420424    worklist.insert(pos);
Note: See TracChangeset for help on using the changeset viewer.