official-antistasi-community / A3-Antistasi

Antistasi Community Version - work in progress - Discord https://discord.com/invite/TYDwCRKnKX
https://antistasi.de
Other
226 stars 156 forks source link

Update sfp_air.hpp with eventHandler inheritance #3289

Closed ante185 closed 3 months ago

ante185 commented 3 months ago

What type of PR is this.

  1. [x] Bug
  2. [ ] Change
  3. [ ] Enhancement

What have you changed and why?

Information:

Please specify which Issue this PR Resolves.

closes #XXXX

Please verify the following and ensure all checks are completed.

  1. [ ] Have you loaded the mission in LAN host?
  2. [ ] Have you loaded the mission on a dedicated server?

Is further testing or are further changes required?

  1. [x] No
  2. [ ] Yes (Please provide further detail below.)

How can the changes be tested?

Steps:


Notes:

ante185 commented 3 months ago

I don't think these need the EH overrides, because the parent classes all run initVehicle already. You should be able to delete all the event handler stuff here and it'll work. The extra stuff is only necessary when the parent class is missing it.

Resolved