STAT_USER is not a constant

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.
Post Reply
ZippeyKeys12
Posts: 111
Joined: Wed Jun 15, 2016 2:49 pm

STAT_USER is not a constant

Post by ZippeyKeys12 »

Code: Select all

enum D4cns
{
    STAT_RUNEPICKUPS = STAT_USER,
}
It says STAT_RUNEPICKUPS is not constant. I'm pretty sure it should be.
XxMiltenXx
Posts: 219
Joined: Wed Jan 08, 2014 8:40 am
Graphics Processor: nVidia with Vulkan support
Location: Germany

Re: STAT_USER is not a constant

Post by XxMiltenXx »

I had the same when using "NUM_TEXT_COLORS". I had to put "Font.NUM_TEXT_COLORS" to fix it.
So in your case try "Thinker.STAT_USER", because that is where the constant is defined.
ZippeyKeys12
Posts: 111
Joined: Wed Jun 15, 2016 2:49 pm

Re: STAT_USER is not a constant

Post by ZippeyKeys12 »

I tried that to no avail

EDIT: I'm an idiot and it worked
Post Reply

Return to “Closed Bugs [GZDoom]”