[up to 3.3.2] MeansOfDeath is in the wrong place

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [up to 3.3.2] MeansOfDeath is in the wrong place

Post by Graf Zahl »

Xaser wrote:Since function overloading isn't a thing (and won't ever be, as it seems), here's an odd proposal: allow virtual overrides to omit trailing parameters in their function signature (with the obvious caveat that if you don't add the parameter, you can't use it). This would implicitly fix the problem since existing Die() overrides will work after the base implementation adds a new parameter.
Done. But only for omitting optional arguments. That way it doesn't have to be versioned.
Post Reply

Return to “Closed Bugs [GZDoom]”