/[enigma]/enigma/src/stones_simple.cc
ViewVC logotype

Diff of /enigma/src/stones_simple.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.46 by dheck, Sun Aug 17 21:51:51 2003 UTC revision 1.47 by mhawlisch, Wed Aug 20 09:01:28 2003 UTC
# Line 2034  namespace Line 2034  namespace
2034          bool active;          bool active;
2035          void actor_hit(const StoneContact &sc)          void actor_hit(const StoneContact &sc)
2036          {          {
2037              if (!active) {              SendMessage(sc.actor, "shatter");
2038                  SendMessage(sc.actor, "shatter");              if (!active) {
2039                  active=true;                  active=true;
2040                  set_anim("st-death-anim");                  set_anim("st-death-anim");
2041              }              }
# Line 2068  namespace Line 2068  namespace
2068    
2069          void actor_hit(const StoneContact &sc)          void actor_hit(const StoneContact &sc)
2070          {          {
2071                SendMessage(sc.actor, "shatter");
2072              if (!active) {              if (!active) {
                 SendMessage(sc.actor, "shatter");  
2073                  active=true;                  active=true;
2074                  set_anim("st-death-anim");                  set_anim("st-death-anim");
2075              }              }

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26