| 251 | } |
| 252 | |
| 253 | void NPCHazard::Start(const xVec3* pos, F32 tym) |
| 254 | { |
| 255 | if (tym > 0.0f) |
| 256 | { |
| 257 | tmr_remain = tym; |
| 258 | } |
| 259 | tym_lifespan = tmr_remain; |
| 260 | if (pos != NULL) |
| 261 | { |
| 262 | PosSet(pos); |
| 263 | } |
| 264 | flg_hazard |= 0x1a; |
| 265 | } |
| 266 | |
| 267 | void NPCHazard::PosSet(const xVec3* pos) |
| 268 | { |
no outgoing calls
no test coverage detected