Parent Directory | Revision Log | Patch
revision 1.3 by dheck, Thu Jan 23 23:52:14 2003 UTC | revision 1.4 by dheck, Sun Feb 2 18:18:54 2003 UTC | |
---|---|---|
# | Line 283 LaserBeam::actor_hit(Actor *actor) | Line 283 LaserBeam::actor_hit(Actor *actor) |
283 | if ((directions & (EASTBIT | WESTBIT) && dy<-0.1) || | if ((directions & (EASTBIT | WESTBIT) && dy<-0.1) || |
284 | (directions & (NORTHBIT | SOUTHBIT)) && dx<-0.1) | (directions & (NORTHBIT | SOUTHBIT)) && dx<-0.1) |
285 | { | { |
286 | SendMessage(actor, "shatter"); | SendMessage(actor, "laserhit"); |
287 | } | } |
288 | ||
289 | return false; // laser beams can't be picked up | return false; // laser beams can't be picked up |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |