| 391 | |
| 392 | playerMid.y += 0.5f; |
| 393 | |
| 394 | if (xPointInBox(&ent->trig[0], &playerMid) || xPointInBox(&ent->trig[1], &playerMid) || |
| 395 | xPointInBox(&ent->trig[0], (xVec3*)&globals.player.ent.model->Mat->pos) || |
| 396 | xPointInBox(&ent->trig[1], (xVec3*)&globals.player.ent.model->Mat->pos)) |
| 397 | { |
| 398 | if (ent->currPlrState == PLAYER_STATE_OUTSIDE && zEntTeleportBox_isOpen(ent) && |
| 399 | globals.player.ent.frame->vel.y <= 0.0f && globals.player.Health != 0) |
| 400 | { |
| 401 | ent->jumpInAnim = 1; |
| 402 | ent->currPlrState = PLAYER_STATE_INSIDE; |
no outgoing calls
no test coverage detected