05.04.2013, 09:55
Are you sure that's the error line? Looks fine to me.
Also, you should use MAX_PLAYER_NAME+1 as your length and string size. Max name is 24, but strings require one more cell for a 'null-terminating' character to denote the end of the string. Either that of set it to 25.
Also, you should use MAX_PLAYER_NAME+1 as your length and string size. Max name is 24, but strings require one more cell for a 'null-terminating' character to denote the end of the string. Either that of set it to 25.

