diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -17,7 +17,7 @@ int main(int argc, char **argv) LZR_ToggleFullscreen(); char snd_path[] = "res/sample_x.wav"; char *snd_x = strchr(snd_path, 'x'); - for (int i = 0; i < 2; i++) { + for (int i = 0; i < 3; i++) { *snd_x = '0' + i; if (LZR_SoundLoad(snd_path, 1.0f) < 0) { LZR_Quit(); @@ -33,6 +33,7 @@ int main(int argc, char **argv) cursor.update(); table.update(cursor); menu.update(cursor); + table.set_layer(menu.get_selection()); LZR_DrawBegin(); LZR_DrawSetColor(0, 0, 0, 1); LZR_DrawClear(); |