mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-26 03:00:55 +00:00
Viewpoint key improvements
- Don't cycle through exiting players - Don't cycle through karma players in Battle - Disable console print on switch, it's already got a HUD element
This commit is contained in:
parent
1a37335675
commit
3d582bc98f
1 changed files with 9 additions and 8 deletions
17
src/g_game.c
17
src/g_game.c
|
@ -1831,6 +1831,7 @@ boolean G_Responder(event_t *ev)
|
|||
if (players[displayplayer].spectator)
|
||||
continue;
|
||||
|
||||
// SRB2Kart: we have no team-based modes, YET...
|
||||
/*if (G_GametypeHasTeams())
|
||||
{
|
||||
if (players[consoleplayer].ctfteam
|
||||
|
@ -1855,12 +1856,16 @@ boolean G_Responder(event_t *ev)
|
|||
continue;
|
||||
}*/
|
||||
|
||||
// SRB2Kart: Ehhh, who cares, Mario Kart's designed around screen-cheating anyway
|
||||
/*if (gametype != GT_RACE)
|
||||
// SRB2Kart: Only go through players who are actually playing
|
||||
if (players[displayplayer].exiting)
|
||||
continue;
|
||||
|
||||
// I don't know if we want this actually, but I'll humor the suggestion anyway
|
||||
if (G_BattleGametype())
|
||||
{
|
||||
if (players[consoleplayer].kartstuff[k_bumper] > 0)
|
||||
if (players[displayplayer].kartstuff[k_bumper] <= 0)
|
||||
continue;
|
||||
}*/
|
||||
}
|
||||
|
||||
break;
|
||||
} while (displayplayer != consoleplayer);
|
||||
|
@ -1869,10 +1874,6 @@ boolean G_Responder(event_t *ev)
|
|||
if (singledemo)
|
||||
ST_changeDemoView();
|
||||
|
||||
// tell who's the view
|
||||
CONS_Printf(M_GetText("Viewpoint: %s\n"), player_names[displayplayer]);
|
||||
P_ResetCamera(&players[displayplayer], &camera);
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue