mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-16 10:02:59 -07:00
parent
e871b53afc
commit
235cef6abf
1 changed files with 2 additions and 0 deletions
|
@ -409,7 +409,9 @@ void GameState_Update(GameState* gameState) {
|
||||||
// Unrestricted Items
|
// Unrestricted Items
|
||||||
if (CVar_GetS32("gNoRestrictItems", 0) != 0) {
|
if (CVar_GetS32("gNoRestrictItems", 0) != 0) {
|
||||||
if (gGlobalCtx) {
|
if (gGlobalCtx) {
|
||||||
|
u8 sunsBackup = gGlobalCtx->interfaceCtx.restrictions.sunsSong;
|
||||||
memset(&gGlobalCtx->interfaceCtx.restrictions, 0, sizeof(gGlobalCtx->interfaceCtx.restrictions));
|
memset(&gGlobalCtx->interfaceCtx.restrictions, 0, sizeof(gGlobalCtx->interfaceCtx.restrictions));
|
||||||
|
gGlobalCtx->interfaceCtx.restrictions.sunsSong = sunsBackup;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue