This commit is contained in:
Volodymyr Patuta 2021-01-01 20:13:07 +01:00
parent 8c8d9fbf0c
commit c094eb0514
1 changed files with 3 additions and 3 deletions

View File

@ -625,7 +625,7 @@ void key(int keycode) {
for (i = 0; i < 18; ++i) { for (i = 0; i < 18; ++i) {
enableSurfaceOption(_moon[i], SO_USE_TEXTURE); enableSurfaceOption(_moon[i], SO_USE_TEXTURE);
if (i < 9) if (i < 9)
enableSurfaceOption(_planet[i], SO_USE_TEXTURE); enableSurfaceOption(_planet[i], SO_USE_TEXTURE);
} }
} else { } else {
disableSurfaceOption(_sun, SO_USE_TEXTURE); disableSurfaceOption(_sun, SO_USE_TEXTURE);
@ -650,7 +650,7 @@ void key(int keycode) {
for (i = 0; i < 18; ++i) { for (i = 0; i < 18; ++i) {
disableSurfaceOption(_moon[i], SO_USE_COLOR); disableSurfaceOption(_moon[i], SO_USE_COLOR);
if (i < 9) if (i < 9)
disableSurfaceOption(_planet[i], SO_USE_COLOR); disableSurfaceOption(_planet[i], SO_USE_COLOR);
} }
} }
break; break;