| 1060 | } |
| 1061 | |
| 1062 | void NPCTarget::PosGet(xVec3* pos) |
| 1063 | { |
| 1064 | switch (typ_target) |
| 1065 | { |
| 1066 | case NPC_TGT_NONE: |
| 1067 | break; |
| 1068 | case NPC_TGT_PLYR: |
| 1069 | case NPC_TGT_ENT: |
| 1070 | case NPC_TGT_BASE: |
| 1071 | NPCC_pos_ofBase(bas_target, pos); |
| 1072 | break; |
| 1073 | case NPC_TGT_POS: |
| 1074 | xVec3Copy(pos, &pos_target); |
| 1075 | break; |
| 1076 | case NPC_TGT_MVPT: |
| 1077 | xVec3Copy(pos, zMovePointGetPos(nav_target)); |
| 1078 | break; |
| 1079 | } |
| 1080 | } |
| 1081 | |
| 1082 | void NPCC_xBoundAway(xBound* bnd) |
| 1083 | { |
no test coverage detected