| 18 | } |
| 19 | |
| 20 | void ProjectileLaunch(OsiArgumentDesc const & args) |
| 21 | { |
| 22 | if (ProjectileHelper != nullptr) |
| 23 | { |
| 24 | ProjectileHelper->Shoot(); |
| 25 | ProjectileHelper.reset(); |
| 26 | } |
| 27 | else |
| 28 | { |
| 29 | OsiError("No projectile to shoot!"); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | void ProjectileSetInt(OsiArgumentDesc const & args) |
| 34 | { |