diff options
author | belugas <belugas@openttd.org> | 2007-03-22 03:42:43 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-03-22 03:42:43 +0000 |
commit | 691f8578fd4ea12c372534c367312ee7b8763c39 (patch) | |
tree | 7d05afaad21b690abc8c07d95e1f62206b11bccd /src/gfx.cpp | |
parent | 829822768516b017f1962e08ce14b0586575c92f (diff) | |
download | openttd-691f8578fd4ea12c372534c367312ee7b8763c39.tar.xz |
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r-- | src/gfx.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp index 3f0a72a55..d6d1f8f25 100644 --- a/src/gfx.cpp +++ b/src/gfx.cpp @@ -1555,7 +1555,7 @@ void DoPaletteAnimations() memcpy(old_val, d, c * sizeof(*old_val)); /* Dark blue water */ - s = (_opt.landscape == LT_CANDY) ? ev->ac : ev->a; + s = (_opt.landscape == LT_TOYLAND) ? ev->ac : ev->a; j = EXTR(320, 5); for (i = 0; i != 5; i++) { *d++ = s[j]; @@ -1564,7 +1564,7 @@ void DoPaletteAnimations() } /* Glittery water */ - s = (_opt.landscape == LT_CANDY) ? ev->bc : ev->b; + s = (_opt.landscape == LT_TOYLAND) ? ev->bc : ev->b; j = EXTR(128, 15); for (i = 0; i != 5; i++) { *d++ = s[j]; @@ -1624,7 +1624,7 @@ void DoPaletteAnimations() /* Animate water for old DOS graphics */ if (_use_dos_palette) { /* Dark blue water DOS */ - s = (_opt.landscape == LT_CANDY) ? ev->ac : ev->a; + s = (_opt.landscape == LT_TOYLAND) ? ev->ac : ev->a; j = EXTR(320, 5); for (i = 0; i != 5; i++) { *d++ = s[j]; @@ -1633,7 +1633,7 @@ void DoPaletteAnimations() } /* Glittery water DOS */ - s = (_opt.landscape == LT_CANDY) ? ev->bc : ev->b; + s = (_opt.landscape == LT_TOYLAND) ? ev->bc : ev->b; j = EXTR(128, 15); for (i = 0; i != 5; i++) { *d++ = s[j]; |