Small question about integers

War Chicken

Warlord
Joined
Jan 16, 2006
Messages
260
Location
Pfungstadt, Germany
I'm working on my first really small mod - I'm removing the barbarian XP cap.
But I want to do it clean and not messy.
If I replace the "BARBARIAN_MAX_XP_VALUE" 30 with 1000 it works fine, but it's ugly.

I've seen some "-1" values in the Defines - do those mean "Unlimited"?
If I set my BARBARIAN_MAX_XP_VALUE to -1, will there be no cap anymore?
 
Yeah, I could have just gone to find out about it myself from the start :)

So if anyone has the same question - the answer is: Yes, -1 means unlimited.

Sorry for spamming the forum
Thread can be closed and buried.
 
Back
Top Bottom