diff --git a/src/st_stuff.c b/src/st_stuff.c index a48d844d5..6c66d069d 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -438,8 +438,10 @@ void ST_drawDebugInfo(void) { INT32 height = 192; + const UINT8 screen = cv_devmode_screen.value - 1; + // devmode_screen = 1..4 - stplyr = &players[displayplayers[min(r_splitscreen, cv_devmode_screen.value - 1)]]; + stplyr = &players[displayplayers[min(r_splitscreen, screen)]]; if (!stplyr->mo) return;