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

Diff of /enigma/src/stones_complex.cc

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

revision 1.39 by reallysoft, Sat Aug 16 23:58:10 2003 UTC revision 1.40 by dheck, Mon Aug 18 08:46:52 2003 UTC
# Line 398  OneWayBase::collision_response(const Sto Line 398  OneWayBase::collision_response(const Sto
398      DirectionBits dirs=contact_faces(sc);      DirectionBits dirs=contact_faces(sc);
399      Direction o=get_orientation();      Direction o=get_orientation();
400    
401      if (actor_may_pass(sc.actor))      if (!sc.actor->is_flying() && actor_may_pass(sc.actor))
402          return has_dir(dirs,o) ? STONE_REBOUND : STONE_PASS;          return has_dir(dirs,o) ? STONE_REBOUND : STONE_PASS;
403      else      else
404          return STONE_REBOUND;          return STONE_REBOUND;

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

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