| 31 | } |
| 32 | |
| 33 | void ProjectileSetInt(OsiArgumentDesc const & args) |
| 34 | { |
| 35 | auto prop = args[0].String; |
| 36 | auto value = args[1].Int32; |
| 37 | |
| 38 | if (!ProjectileHelper) { |
| 39 | OsiError("Called when no projectile is active!"); |
| 40 | return; |
| 41 | } |
| 42 | |
| 43 | ProjectileHelper->SetInt(prop, value); |
| 44 | } |
| 45 | |
| 46 | void ProjectileSetString(OsiArgumentDesc const & args) |
| 47 | { |