Giferns

Results 2 issues of Giferns

**Problematic code:** ``` #include enum _:CATEGORIES_ENUM { CATEGORY__FREE, CATEGORY__VIP, CATEGORY__PREMIUM, CATEGORY__GIRL, CATEGORY__HOLIDAY, CATEGORY__END } #define INVALID_CATEGORY_POS -1 new g_iFirstPos[CATEGORIES_ENUM] = { INVALID_CATEGORY_POS, ... } new g_iFirstPos2[ 5 ] = {...

Add player team check to avoid unexpected behavior