format
This commit is contained in:
parent
8c8d9fbf0c
commit
c094eb0514
4
window.c
4
window.c
@ -625,7 +625,7 @@ void key(int keycode) {
|
||||
for (i = 0; i < 18; ++i) {
|
||||
enableSurfaceOption(_moon[i], SO_USE_TEXTURE);
|
||||
if (i < 9)
|
||||
enableSurfaceOption(_planet[i], SO_USE_TEXTURE);
|
||||
enableSurfaceOption(_planet[i], SO_USE_TEXTURE);
|
||||
}
|
||||
} else {
|
||||
disableSurfaceOption(_sun, SO_USE_TEXTURE);
|
||||
@ -650,7 +650,7 @@ void key(int keycode) {
|
||||
for (i = 0; i < 18; ++i) {
|
||||
disableSurfaceOption(_moon[i], SO_USE_COLOR);
|
||||
if (i < 9)
|
||||
disableSurfaceOption(_planet[i], SO_USE_COLOR);
|
||||
disableSurfaceOption(_planet[i], SO_USE_COLOR);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user