summaryrefslogtreecommitdiff
path: root/src/palaceDude.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-27 16:58:43 +0200
committerTreeki <treeki@gmail.com>2012-09-27 16:58:43 +0200
commit624a89dc12d88973486b39937871c5facf6b9bb6 (patch)
treeff7614e780d13162d1749e4f57478dc16b9226d7 /src/palaceDude.cpp
parent3268b1fab87a34897289faa8a1f5ee0679f74e19 (diff)
parent0fc70778c02671e64b8360b7ebdbb0e8c29f0a05 (diff)
downloadkamek-624a89dc12d88973486b39937871c5facf6b9bb6.tar.gz
kamek-624a89dc12d88973486b39937871c5facf6b9bb6.zip
Merge branch 'new-hud' into level-select
Diffstat (limited to 'src/palaceDude.cpp')
-rw-r--r--src/palaceDude.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/palaceDude.cpp b/src/palaceDude.cpp
index 6a8d7ff..8eb4a99 100644
--- a/src/palaceDude.cpp
+++ b/src/palaceDude.cpp
@@ -29,7 +29,7 @@ int dPalaceDude_c::onExecute() {
dMsgBoxManager_c::instance->showMessage(settings & 0xFFFFFFF);
SaveBlock *save = GetSaveFile()->GetBlock(-1);
- *((u8*)(((u32)GameMgr)+0x380)) |= (1 << (settings >> 28));
+ GameMgrP->switchPalaceFlag|= (1 << (settings >> 28));
}
}