fix potential crash in P_TryCameraMove for dedi servers

This commit is contained in:
Alug committed 2024-08-23 15:31:58 +02:00
1 parent 5ddd2e4fbc
commit 9022e02ccd
1 file changed
+3
+3
View File
@@ -2245,6 +2245,9 @@ boolean P_TryCameraMove(fixed_t x, fixed_t y, camera_t *thiscam)
floatok = false;
if (dedicated) // this crashes so don't even try it
return false;
if (twodlevel)
itsatwodlevel = true;
else