mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 10:22:48 +01:00
- misc changes
This commit is contained in:
parent
3a034ea524
commit
a0ad45457b
@ -1492,12 +1492,12 @@ void CheckForPause(void)
|
||||
{
|
||||
if (NumPlayers == 1)
|
||||
{
|
||||
if (paddp == 0x800 && bMissionTitleFade == 0) // [A] && gInGameCutsceneActive == 0) // allow pausing during cutscene
|
||||
if (paddp == MPAD_START && bMissionTitleFade == 0) // [A] && gInGameCutsceneActive == 0) // allow pausing during cutscene
|
||||
{
|
||||
EnablePause(PAUSEMODE_PAUSE);
|
||||
}
|
||||
}
|
||||
else if (paddp == 0x800)
|
||||
else if (paddp == MPAD_START)
|
||||
{
|
||||
EnablePause(PAUSEMODE_PAUSEP1);
|
||||
}
|
||||
|
@ -1170,8 +1170,7 @@ void SetMissionMessage(char *message, int priority, int seconds)
|
||||
if (message == MissionStrings - 1 || message == NULL || NumPlayers == 0)
|
||||
return;
|
||||
|
||||
i = 0;
|
||||
while (i < NumPlayers)
|
||||
for (i = 0; i < NumPlayers; i++)
|
||||
{
|
||||
if (Mission.message_timer[i] == 0 || Mission.message_priority[i] <= priority)
|
||||
{
|
||||
@ -1187,8 +1186,6 @@ void SetMissionMessage(char *message, int priority, int seconds)
|
||||
Mission.message_timer[i] = seconds * 30;
|
||||
}
|
||||
}
|
||||
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -995,8 +995,7 @@ void DrawMultiplayerMap(void)
|
||||
r = 255;
|
||||
g = 0;
|
||||
|
||||
i = 0;
|
||||
do {
|
||||
for (i = 0; i < NumPlayers; i++) {
|
||||
target.vx = pl->pos[0];
|
||||
target.vz = pl->pos[2];
|
||||
|
||||
@ -1013,9 +1012,7 @@ void DrawMultiplayerMap(void)
|
||||
|
||||
r++;
|
||||
g--;
|
||||
|
||||
i++;
|
||||
} while (i < NumPlayers);
|
||||
}
|
||||
|
||||
draw_box(yPos, 64);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user