View | Details | Raw Unified
Collapse All | Expand All

(-) src/multiplay.c (-1 / +1 lines)
 Lines 1340-1346    Link Here 
	strcpy(msg,NetPlay.players[i].name);
	strcpy(msg,NetPlay.players[i].name);
	strcat(msg," : ");								// seperator
	strcat(msg," : ");								// seperator
	//strcat(msg, &(pMsg->body[4]));					// add message
	//strcat(msg, &(pMsg->body[4]));					// add message
	strncat(msg, &(pMsg->body[4]), MAX_CONSOLE_STRING_LENGTH);					// add message
	strncat(msg, &(pMsg->body[4]), MAX_CONSOLE_STRING_LENGTH-strlen(msg)-1);// add message
	addConsoleMessage((char *)&msg,DEFAULT_JUSTIFY);
	addConsoleMessage((char *)&msg,DEFAULT_JUSTIFY);
	//multiplayer message callback
	//multiplayer message callback