| 90 | } |
| 91 | |
| 92 | void xNPCBasic::Reset() |
| 93 | { |
| 94 | xEntReset(this); |
| 95 | DBG_PStatClear(); |
| 96 | if (!(U32(flags1.flg_basenpc) & 0x2)) |
| 97 | { |
| 98 | xVec3Copy(&frame->drot.axis, &g_Y3); |
| 99 | frame->drot.angle = 0.0f; |
| 100 | xVec3Copy(&frame->rot.axis, &g_Y3); |
| 101 | frame->rot.angle = asset->ang.x; |
| 102 | } |
| 103 | |
| 104 | flags1.flg_basenpc |= 4; |
| 105 | colFreq = -1; |
| 106 | |
| 107 | colFreqReset = (15.0f * (0.25f * (xurand() - 0.5f))) + 15.0f; |
| 108 | RestoreColFlags(); |
| 109 | } |
| 110 | |
| 111 | void NPC_alwaysUseSphere(xEnt* ent, xVec3* value) |
| 112 | { |
no test coverage detected