| 2834 | } |
| 2835 | |
| 2836 | void JoshBell::DoCollide(int me) { |
| 2837 | int child_handle = Obj_GetAttachChildHandle(me, 0); |
| 2838 | |
| 2839 | if (child_handle == OBJECT_HANDLE_NONE /* && memory->last_play_time + 2.0f < Game_GetTime()*/) { |
| 2840 | memory->last_play_time = Game_GetTime(); |
| 2841 | Sound_Play3d(me, memory->bell_sound); |
| 2842 | } |
| 2843 | } |
| 2844 | |
| 2845 | int16_t JoshBell::CallEvent(int event, tOSIRISEventInfo *data) { |
| 2846 | switch (event) { |
nothing calls this directly
no test coverage detected