GetUDMFBool()

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

GetUDMFBool()

Postby Major Cooke » Wed Apr 06, 2022 1:54 pm

Because apparently GetUDMFInt doesn't act like GetCvar's GetInt() function where it can get either an int or a bool. It just gets an int.
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: GetUDMFBool()

Postby Graf Zahl » Fri Apr 29, 2022 1:11 am

Bools are just stored as 0 and 1 so this should not be an issue. These values do not have any bool type.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests