fodev.net

FOnline Development => Questions and Answers => Topic started by: hexer on April 09, 2014, 05:11:04 pm

Title: MAX_BODY_TYPES in _defines.fos
Post by: hexer on April 09, 2014, 05:11:04 pm
I'm adding new body types and there's this constant

#define MAX_BODY_TYPES                           ( 21 )

So now I'm wondering if 21 is index (probably) or value (the total number of body types in SDK is 21 coincidentally )?
Title: Re: MAX_BODY_TYPES in _defines.fos
Post by: Wipe on April 10, 2014, 02:30:34 pm
More like just a helper in case you'd want to iterate thru all body types for whatever reason, or make sure ST_BODY_TYPE is correct etc.