forked from Ports/perfect_dark
net: Use LOCALPLAYERCOUNT() for UI size determination
This commit is contained in:
1 parent
634eecb35d
commit
44a67e60e8
2 files changed
+7
-7
No files matched your search
@@ -1702,7 +1702,7 @@ void endscreenPushCoop(void)
|
|||||||
// Failed or aborted
|
// Failed or aborted
|
||||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
||||||
#ifndef PLATFORM_N64
|
#ifndef PLATFORM_N64
|
||||||
|| PLAYERCOUNT() >= 3
|
|| LOCALPLAYERCOUNT() >= 3
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
menuPushRootDialog(&g_2PMissionEndscreenFailedVMenuDialog, MENUROOT_MPENDSCREEN);
|
menuPushRootDialog(&g_2PMissionEndscreenFailedVMenuDialog, MENUROOT_MPENDSCREEN);
|
||||||
@@ -1713,7 +1713,7 @@ void endscreenPushCoop(void)
|
|||||||
// Completed
|
// Completed
|
||||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
||||||
#ifndef PLATFORM_N64
|
#ifndef PLATFORM_N64
|
||||||
|| PLAYERCOUNT() >= 3
|
|| LOCALPLAYERCOUNT() >= 3
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
menuPushRootDialog(&g_2PMissionEndscreenCompletedVMenuDialog, MENUROOT_MPENDSCREEN);
|
menuPushRootDialog(&g_2PMissionEndscreenCompletedVMenuDialog, MENUROOT_MPENDSCREEN);
|
||||||
@@ -1803,7 +1803,7 @@ void endscreenPushAnti(void)
|
|||||||
// Bond - failed or aborted
|
// Bond - failed or aborted
|
||||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
||||||
#ifndef PLATFORM_N64
|
#ifndef PLATFORM_N64
|
||||||
|| PLAYERCOUNT() >= 3
|
|| LOCALPLAYERCOUNT() >= 3
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
menuPushRootDialog(&g_2PMissionEndscreenFailedVMenuDialog, MENUROOT_MPENDSCREEN);
|
menuPushRootDialog(&g_2PMissionEndscreenFailedVMenuDialog, MENUROOT_MPENDSCREEN);
|
||||||
@@ -1814,7 +1814,7 @@ void endscreenPushAnti(void)
|
|||||||
// Bond - completed
|
// Bond - completed
|
||||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
||||||
#ifndef PLATFORM_N64
|
#ifndef PLATFORM_N64
|
||||||
|| PLAYERCOUNT() >= 3
|
|| LOCALPLAYERCOUNT() >= 3
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
menuPushRootDialog(&g_2PMissionEndscreenCompletedVMenuDialog, MENUROOT_MPENDSCREEN);
|
menuPushRootDialog(&g_2PMissionEndscreenCompletedVMenuDialog, MENUROOT_MPENDSCREEN);
|
||||||
@@ -1834,7 +1834,7 @@ void endscreenPushAnti(void)
|
|||||||
// Anti - completed
|
// Anti - completed
|
||||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
||||||
#ifndef PLATFORM_N64
|
#ifndef PLATFORM_N64
|
||||||
|| PLAYERCOUNT() >= 3
|
|| LOCALPLAYERCOUNT() >= 3
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
menuPushRootDialog(&g_2PMissionEndscreenCompletedVMenuDialog, MENUROOT_MPENDSCREEN);
|
menuPushRootDialog(&g_2PMissionEndscreenCompletedVMenuDialog, MENUROOT_MPENDSCREEN);
|
||||||
@@ -1845,7 +1845,7 @@ void endscreenPushAnti(void)
|
|||||||
// Anti - failed or aborted
|
// Anti - failed or aborted
|
||||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
||||||
#ifndef PLATFORM_N64
|
#ifndef PLATFORM_N64
|
||||||
|| PLAYERCOUNT() >= 3
|
|| LOCALPLAYERCOUNT() >= 3
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
menuPushRootDialog(&g_2PMissionEndscreenFailedVMenuDialog, MENUROOT_MPENDSCREEN);
|
menuPushRootDialog(&g_2PMissionEndscreenFailedVMenuDialog, MENUROOT_MPENDSCREEN);
|
||||||
|
|||||||
@@ -802,7 +802,7 @@ void mpPushPauseDialog(void)
|
|||||||
} else {
|
} else {
|
||||||
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL
|
||||||
#ifndef PLATFORM_N64
|
#ifndef PLATFORM_N64
|
||||||
|| PLAYERCOUNT() >= 3
|
|| LOCALPLAYERCOUNT() >= 3
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
menuPushRootDialog(&g_2PMissionPauseVMenuDialog, MENUROOT_MPPAUSE);
|
menuPushRootDialog(&g_2PMissionPauseVMenuDialog, MENUROOT_MPPAUSE);
|
||||||
|
|||||||
Reference in new issue
Block a user