File diff r1961:7949b074d614 → r1962:cc4c06e3f6b5
console_cmds.c
Show inline comments
 
@@ -541,13 +541,13 @@ DEF_CONSOLE_CMD(ConResetCompany)
 
		IConsolePrintF(_icolour_err, "Company does not exist. Company-id must be between 1 and %d.", MAX_PLAYERS);
 
		return true;
 
	}
 

	
 
	/* Check if company does exist */
 
	index--;
 
	p = DEREF_PLAYER(index);
 
	p = GetPlayer(index);
 
	if (!p->is_active) {
 
		IConsoleError("Company does not exist.");
 
		return true;
 
	}
 

	
 
	if (p->is_ai) {