fix potential crash in P_TryCameraMove for dedi servers
This commit is contained in:
1 parent
5ddd2e4fbc
commit
9022e02ccd
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user