mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 12:11:25 +00:00
Fixed crash on finishgame CCMD before starting new game
https://forum.zdoom.org/viewtopic.php?t=59045
This commit is contained in:
parent
e8a7f00b9b
commit
6370594e17
1 changed files with 1 additions and 1 deletions
|
@ -510,7 +510,7 @@ public:
|
|||
crouchdir = 0;
|
||||
crouching = 0;
|
||||
crouchviewdelta = 0;
|
||||
viewheight = mo->ViewHeight;
|
||||
viewheight = mo ? mo->ViewHeight : 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue