mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Remove level menu rendering code in NO_CUSTOM_LEVELS builds
Should have been done earlier, imo. But now that we introduce `ed` the NO_CUSTOM_LEVEL build fails because of it. So just ifdef it out entirely.
This commit is contained in:
@@ -1593,6 +1593,7 @@ void Graphics::drawmenu( int cr, int cg, int cb, bool levelmenu /*= false*/ )
|
||||
int x = i*game.menuspacing + game.menuxoff;
|
||||
int y = 140 + i*12 + game.menuyoff;
|
||||
|
||||
#ifndef NO_CUSTOM_LEVELS
|
||||
if (levelmenu)
|
||||
{
|
||||
size_t separator;
|
||||
@@ -1615,6 +1616,7 @@ void Graphics::drawmenu( int cr, int cg, int cb, bool levelmenu /*= false*/ )
|
||||
y += 4;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
char tempstring[MENU_TEXT_BYTES];
|
||||
SDL_strlcpy(tempstring, opt.text, sizeof(tempstring));
|
||||
|
||||
Reference in New Issue
Block a user