| 491 | } |
| 492 | |
| 493 | void CCustomMonster::UpdatePositionAnimation() |
| 494 | { |
| 495 | START_PROFILE("CustomMonster/client_update/movement") |
| 496 | movement().on_frame(character_physics_support()->movement(), NET_Last.p_pos); |
| 497 | STOP_PROFILE |
| 498 | |
| 499 | START_PROFILE("CustomMonster/client_update/animation") |
| 500 | if (!bfScriptAnimation()) |
| 501 | SelectAnimation(XFORM().k, movement().detail().direction(), movement().speed()); |
| 502 | STOP_PROFILE |
| 503 | } |
| 504 | |
| 505 | BOOL CCustomMonster::feel_visible_isRelevant(CObject* O) |
| 506 | { |