| 149 | } |
| 150 | |
| 151 | void InitFlare(ObjectInfo* object, int objectNumber) |
| 152 | { |
| 153 | object = &Objects[objectNumber]; |
| 154 | if (object->loaded) |
| 155 | { |
| 156 | object->collision = PickupCollision; |
| 157 | object->control = FlareControl; |
| 158 | object->pivotLength = 256; |
| 159 | object->isPickup = true; |
| 160 | } |
| 161 | } |
| 162 | |
| 163 | void InitProjectile(ObjectInfo* object, std::function<InitFunction> func, int objectNumber, bool noLoad) |
| 164 | { |