| 1565 | |
| 1566 | xVec3Init(&bubbleVel, 0.0f, 1.0f, 0.0f); |
| 1567 | |
| 1568 | for (i = 0; i < 50; i++) |
| 1569 | { |
| 1570 | if (!(this->glob[i].flags & 1) || (this->glob[i].flags & 4)) |
| 1571 | { |
| 1572 | continue; |
| 1573 | } |
| 1574 | |
| 1575 | if (xrand() & 0x200) |
| 1576 | { |
| 1577 | zParPTankSpawnBubbles(&this->glob[i].lastPos, &bubbleVel, 1, 1.0f); |
| 1578 | } |
| 1579 | |
| 1580 | if (xVec3Dist2(&this->glob[i].lastPos, &globals.player.ent.bound.sph.center) < 1.0f) |
| 1581 | { |
| 1582 | this->bossFlags |= 2; |
| 1583 | this->glob[i].flags = 0; |
| 1584 | doDamage = 1; |
| 1585 | |
| 1586 | this->playSplat(&this->glob[i].lastPos); |
| 1587 |
nothing calls this directly
no test coverage detected