16.09.2010, 14:02
(
Последний раз редактировалось Cypog; 16.09.2010 в 14:38.
)
I never use these constants in my script, I always use me own constants, because I really care about performance in my scripts.
So how can this be?
Edit:
After some research, I found out, that there's really a constant wich causes this problem, I will report wich one and why after having a closer look to it.
EditІ:
I found out, that it is a design fault in one of my includes:
#if !defined PLAYER_SLOTS
#define PLAYER_SLOTS MAX_PLAYERS
#endif
I didn't change my script, but the constants did, thanks for this advice.
Editі:
This is how I fixed it:
#undef MAX_PLAYERS
#define MAX_PLAYERS 20
I recommend to everybody who's using the MAX_PLAYERS constant to redefine it to a realistic value
So how can this be?
Edit:
After some research, I found out, that there's really a constant wich causes this problem, I will report wich one and why after having a closer look to it.
EditІ:
I found out, that it is a design fault in one of my includes:
#if !defined PLAYER_SLOTS
#define PLAYER_SLOTS MAX_PLAYERS
#endif
I didn't change my script, but the constants did, thanks for this advice.
Editі:
This is how I fixed it:
#undef MAX_PLAYERS
#define MAX_PLAYERS 20
I recommend to everybody who's using the MAX_PLAYERS constant to redefine it to a realistic value