* Create an effect vehicle above a particular vehicle. * @param v The vehicle to base the position on. * @param x The x offset to the vehicle. * @param y The y offset to the vehicle. * @param z The z offset to the vehicle. * @param type The type of effect vehicle. * @return The effect vehicle. */
| 608 | * @return The effect vehicle. |
| 609 | */ |
| 610 | EffectVehicle *CreateEffectVehicleRel(const Vehicle *v, int x, int y, int z, EffectVehicleType type) |
| 611 | { |
| 612 | return CreateEffectVehicle(v->x_pos + x, v->y_pos + y, v->z_pos + z, type); |
| 613 | } |
| 614 | |
| 615 | bool EffectVehicle::Tick() |
| 616 | { |
no test coverage detected