From 205d20bce4f874cfbebae1ccf26f4b58d7fbf4e1 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sat, 4 May 2013 06:06:24 +0200 Subject: disable high score in credits --- src/creditsMgr.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/creditsMgr.cpp') 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; -- cgit v1.2.3