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