[Add] Reset some GUI variables when creating a new game.
This commit is contained in:
parent
996be96757
commit
9bbf9e748e
@ -239,6 +239,9 @@ void player_new(void) {
|
||||
vectnull(&player_cam);
|
||||
gl_bindCamera(&player_cam);
|
||||
|
||||
gui.radar.res = RADAR_RES_DEFAULT;
|
||||
memset(msg_stack, 0, msg_max * sizeof(Msg));
|
||||
|
||||
/* Setup sound. */
|
||||
player_initSound();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user