GetUDMFBool()

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

Moderator: GZDoom Developers

User avatar
Major Cooke
Posts: 8176
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

GetUDMFBool()

Post by Major Cooke »

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
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49073
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: GetUDMFBool()

Post by Graf Zahl »

Bools are just stored as 0 and 1 so this should not be an issue. These values do not have any bool type.
Post Reply

Return to “Feature Suggestions [GZDoom]”