All pastes #733691 Raw Edit

Untitled

public text v1 · immutable
·published 2007-10-12 00:40 UTC
rendered paste body
// Chose the player you want to use Tails 03-02-2002
static void M_ChoosePlayer(int choice)
{
	int skinnum;

	M_ClearMenus(true);

	switch(choice)
	{
		case 0: // Sonic
			startmap = 10;
			break;
		case 1: // Tails
			startmap = 1;
			break;
		case 2: // Knuckles
			startmap = 20;
			break;
	}

	strlwr(description[choice].skinname);

	skinnum = R_SkinAvailable(description[choice].skinname);

	G_DeferedInitNew(skillnum, G_BuildMapName(startmap), skinnum, StartSplitScreenGame, fromlevelselect);
	COM_BufAddText("dummyconsvar 1\n"); // G_DeferedInitNew doesn't do this
}