| 295 | } |
| 296 | |
| 297 | void zEntButton_Press(_zEntButton* ent) |
| 298 | { |
| 299 | xSndPlay3D(xStrHash("Button_press"), 0.77f, 0.0f, 128, 0, (xVec3*)&ent->model->Mat->pos, 10.0f, |
| 300 | 30.0f, SND_CAT_GAME, 0.0f); |
| 301 | |
| 302 | if (ent->state == 0) |
| 303 | { |
| 304 | ent->state = 1; |
| 305 | ent->counter = 0.0f; |
| 306 | } |
| 307 | } |
| 308 | |
| 309 | static void _PressButtonSound(U32 mask) |
| 310 | { |
no test coverage detected