Revert "only works for displayplayer 0"

This reverts commit ba20020929.
This commit is contained in:
Alug committed 2024-08-03 22:44:38 +02:00
1 parent ba20020929
commit 9f4f728541
1 file changed
+1 -3
+1 -3
View File
@@ -381,9 +381,7 @@ int player_viewrollangle_getter(lua_State *L)
{
player_t *plr = GETPLAYER();
// cba to add splitscreen support for viewroll stuff soooo..
if (plr == &players[displayplayers[0]])
lua_pushangle(L, R_ViewRollAngle(plr));
lua_pushangle(L, R_ViewRollAngle(plr));
return 1;
}