summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-05-04 06:06:24 +0200
committerTreeki <treeki@gmail.com>2013-05-04 06:06:24 +0200
commit205d20bce4f874cfbebae1ccf26f4b58d7fbf4e1 (patch)
tree5475f3c461004c2e9d95c6b75b288eed274cd10b /src
parent95da70dfef8c390979ba0bff5e9ed1132397b28b (diff)
downloadkamek-205d20bce4f874cfbebae1ccf26f4b58d7fbf4e1.tar.gz
kamek-205d20bce4f874cfbebae1ccf26f4b58d7fbf4e1.zip
disable high score in credits
Diffstat (limited to 'src')
-rw-r--r--src/creditsMgr.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/creditsMgr.cpp b/src/creditsMgr.cpp
index 85f9a9a..7b419b7 100644
--- a/src/creditsMgr.cpp
+++ b/src/creditsMgr.cpp
@@ -285,6 +285,7 @@ int dCreditsMgr_c::onExecute() {
int u16_top, u16_bottom;
int whatAnim;
u8 *staffCreditScore;
+ nw4r::lyt::Pane *paneThing;
const u8 *read = scriptPos;
int cmdSize = *(read++);
@@ -317,6 +318,9 @@ int dCreditsMgr_c::onExecute() {
case 4: // Show scores
staffCreditScore = GetStaffCreditScore();
staffCreditScore[0x279] = 1;
+ // Hide the high score bit
+ paneThing = *((nw4r::lyt::Pane**)(staffCreditScore + 0x274));
+ paneThing->SetVisible(false);
OSReport("Staff Credit Score object is at %p, going to show it\n", staffCreditScore);
break;