MantisBT - Zandronum | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0004156 | Zandronum | [All Projects] Suggestion | public | 2023-08-25 07:34 | 2023-08-25 12:11 | |||||
Reporter | Penguin | |||||||||
Assigned To | ||||||||||
Priority | none | Severity | feature | Reproducibility | N/A | |||||
Status | new | Resolution | open | |||||||
Platform | PC | OS | Microsoft Windows 11 | OS Version | 22H2 | |||||
Product Version | 3.1 | |||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0004156: Make GameType() calls in Coop (multiplayer emulation) return GAME_NET_COOPERATIVE instead of returning GAME_SINGLE_PLAYER. | |||||||||
Description | Since it returns GAME_SINGLE_PLAYER, coop can't distinguish between singleplayer and multiplayer emulation. | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | This 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 } | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
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 |
There are no notes attached to this issue. |