Skip to content

Commit ac82ac3

Browse files
committed
Hide watermark in TR8
1 parent 2eaa6cd commit ac82ac3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/modules/MainMenu.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,19 +183,18 @@ void MainMenu::SwitchPlayerCharacter(char* name) noexcept
183183

184184
void MainMenu::OnFrame()
185185
{
186+
#ifndef TR8
186187
// Shows the watermark in th main menu
187188
auto mainState = *(int*)GET_ADDRESS(0x10E5868, 0x838838, 0xE7ED60);
188189

189190
if (mainState == MS_DISPLAY_MAIN_MENU && !m_noWatermark.GetValue())
190191
{
191192
auto font = Font::GetMainFont();
192193

193-
#ifdef TR8
194-
font->SetScale(0.7f, 0.7f);
195-
#endif
196194
font->SetCursor(5.f, 430.f);
197195
font->Print("TRLAU-Menu-Hook");
198196
}
197+
#endif
199198
}
200199

201200
void MainMenu::OnLoop()

0 commit comments

Comments
 (0)