mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-08 17:22:18 +00:00
parent
36e64cb683
commit
1e04896d3f
1 changed files with 12 additions and 0 deletions
|
@ -7975,6 +7975,18 @@ boolean P_LoadLevel(boolean fromnetsave, boolean reloadinggamestate)
|
||||||
{
|
{
|
||||||
clientGamedata->mapvisited[gamemap-1] |= MV_VISITED;
|
clientGamedata->mapvisited[gamemap-1] |= MV_VISITED;
|
||||||
serverGamedata->mapvisited[gamemap-1] |= MV_VISITED;
|
serverGamedata->mapvisited[gamemap-1] |= MV_VISITED;
|
||||||
|
|
||||||
|
M_SilentUpdateUnlockablesAndEmblems(serverGamedata);
|
||||||
|
|
||||||
|
if (M_UpdateUnlockablesAndExtraEmblems(clientGamedata))
|
||||||
|
{
|
||||||
|
S_StartSound(NULL, sfx_s3k68);
|
||||||
|
G_SaveGameData(clientGamedata);
|
||||||
|
}
|
||||||
|
else if (!reloadinggamestate)
|
||||||
|
{
|
||||||
|
G_SaveGameData(clientGamedata);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
levelloading = false;
|
levelloading = false;
|
||||||
|
|
Loading…
Reference in a new issue