summaryrefslogtreecommitdiff
path: root/src/palaceDude.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-25 23:03:30 +0200
committerTreeki <treeki@gmail.com>2012-09-25 23:03:30 +0200
commit46b65dfd76411bec6f8356c581f337f8a1944013 (patch)
tree016b4487a80bd6373589006e69b8c6bbbcf9188e /src/palaceDude.cpp
parentf4be7c3e4a44a6ec870eb61863a3d294da6f10ae (diff)
downloadkamek-46b65dfd76411bec6f8356c581f337f8a1944013.tar.gz
kamek-46b65dfd76411bec6f8356c581f337f8a1944013.zip
added Remocon and GameMgr definitions, and made map HUD buttons work
Diffstat (limited to '')
-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));
}
}