Fix sky texture syncing
This commit is contained in:
parent
f48aaba125
commit
dbafe1da7a
1 changed files with 4 additions and 4 deletions
|
|
@ -3740,10 +3740,10 @@ static inline void P_NetSyncSpecials(savebuffer_t *save)
|
|||
}
|
||||
}
|
||||
|
||||
// Sky number
|
||||
P_SyncStringN(save, globallevelskytexture, 9);
|
||||
|
||||
if (!save->write && strcmp(skytex, globallevelskytexture))
|
||||
// Sky texture
|
||||
strcpy(skytex, globallevelskytexture);
|
||||
P_SyncStringN(save, skytex, 9);
|
||||
if (strcmp(skytex, globallevelskytexture))
|
||||
P_SetupLevelSky(skytex, true);
|
||||
|
||||
// Current global weather type
|
||||
|
|
|
|||
Loading…
Reference in a new issue