… | |
… | |
816 | return; |
816 | return; |
817 | } |
817 | } |
818 | |
818 | |
819 | /* update object image for new facing */ |
819 | /* update object image for new facing */ |
820 | /* many thrown objects *don't* have more than one face */ |
820 | /* many thrown objects *don't* have more than one face */ |
821 | if (GET_ANIM_ID (op)) |
821 | if (op->has_anim ()) |
822 | SET_ANIMATION (op, op->direction); |
822 | op->set_anim_frame (op->direction); |
823 | } /* object is reflected */ |
823 | } /* object is reflected */ |
824 | } /* object ran into a wall */ |
824 | } /* object ran into a wall */ |
825 | |
825 | |
826 | /* decrease the speed as it flies. 0.05 means a standard bow will shoot |
826 | /* decrease the speed as it flies. 0.05 means a standard bow will shoot |
827 | * about 17 squares. Tune as needed. |
827 | * about 17 squares. Tune as needed. |