Parent Directory | Revision Log | Patch
revision 1.2 by dheck, Mon Jan 6 12:26:01 2003 UTC | revision 1.3 by dheck, Tue Jan 7 00:36:23 2003 UTC | |
---|---|---|
# | Line 826 namespace | Line 826 namespace |
826 | BlockStone() : MovableStone("st-block") {} | BlockStone() : MovableStone("st-block") {} |
827 | private: | private: |
828 | ||
829 | void actor_hit(const StoneContact &sc) | void on_move(){ |
{ | ||
MovableStone::actor_hit(sc); | ||
830 | if (Floor *fl=GetFloor(get_pos())) { | if (Floor *fl=GetFloor(get_pos())) { |
831 | const string &k = fl->get_kind(); | const string &k = fl->get_kind(); |
832 | if (k=="fl-water") { | if (k=="fl-water") { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |