mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01: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:
parent
9b3ae770fb
commit
b60bfc6bd8
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue