Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004156Zandronum[All Projects] Suggestionpublic2023-08-25 07:342023-08-25 12:11
ReporterPenguin 
Assigned To 
PrioritynoneSeverityfeatureReproducibilityN/A
StatusnewResolutionopen 
PlatformPCOSMicrosoft Windows 11OS Version22H2
Product Version3.1 
Target VersionFixed in Version 
Summary0004156: Make GameType() calls in Coop (multiplayer emulation) return GAME_NET_COOPERATIVE instead of returning GAME_SINGLE_PLAYER.
DescriptionSince it returns GAME_SINGLE_PLAYER, coop can't distinguish between singleplayer and multiplayer emulation.
Additional InformationThis code works fine if it returns GAME_NET_COOPERATIVE in multiplayer emulation.

if(GameType() == GAME_NET_COOPERATIVE && IsNetworkGame())
{
    // True multiplayer
}
else if(GameType() == GAME_NET_COOPERATIVE && !IsNetworkGame())
{
    // Multiplayer emulation
}
else if(GameType() == GAME_SINGLE_PLAYER)
{
    // Singleplayer
}
else
{
    // Other game modes
}
Attached Files

- Relationships
related to 0002158new GameType() returns incorrect values for some gametypes. 

-  Notes
There are no notes attached to this issue.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2023-08-25 07:34 Penguin New Issue
2023-08-25 12:11 WaTaKiD Relationship added related to 0002158






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2023 MantisBT Team
Powered by Mantis Bugtracker