G_DoPlayDemo: clear camera_t
- Fixes freecam not being reset between restarts
This commit is contained in:
parent
79e81564c4
commit
30cf74eb3e
1 changed files with 1 additions and 0 deletions
|
|
@ -3209,6 +3209,7 @@ void G_DoPlayDemo(char *defdemoname)
|
|||
consoleplayer = 0;
|
||||
memset(playeringame,0,sizeof(playeringame));
|
||||
memset(displayplayers,0,sizeof(displayplayers));
|
||||
memset(camera,0,sizeof(camera)); // reset freecam
|
||||
|
||||
// Load players that were in-game when the map started
|
||||
p = READUINT8(demobuf.p);
|
||||
|
|
|
|||
Loading…
Reference in a new issue