[~March 13?] drawmugshot ignores specification

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: 49143
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [~March 13?] drawmugshot ignores specification

Post by Graf Zahl »

Well, since nobody bothered to even comment on this, I decided to address the problem myself.
Added a new flag for the 'drawmugshot' command, named "custom". If this is specified, the skin's mugshot is ignored and the one given in the command always used.
Blzut3
 
 
Posts: 3167
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: [~March 13?] drawmugshot ignores specification

Post by Blzut3 »

Which is pretty much what I suggested. :P
Blzut3 wrote:My natural inclination at the moment is to just outright ignore that parameter and add a new one that is specifically for forcing a prefix, but I could use more opinions there.
Probably would have went with the syntax of custom("XYZ") myself, print a warning with the old syntax that was previously deprecated, but this works fine too.

Edit: Previous wording of that sentence overstated some stuff.
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: [~March 13?] drawmugshot ignores specification

Post by Matt »

Works like a charm, thanks!

Return to “Closed Bugs [GZDoom]”