diff options
Diffstat (limited to 'src/T2DLL/T2PaletteAnime.h')
-rw-r--r-- | src/T2DLL/T2PaletteAnime.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/T2DLL/T2PaletteAnime.h b/src/T2DLL/T2PaletteAnime.h index fd6ef53..778834d 100644 --- a/src/T2DLL/T2PaletteAnime.h +++ b/src/T2DLL/T2PaletteAnime.h @@ -1,7 +1,7 @@ #pragma once #include "common.h" -class DLL_EXPORT T2PaletteAnime { +class AFX_EXT_CLASS T2PaletteAnime { public: T2PaletteAnime(T2WorldDef*, T2DateTime*); virtual ~T2PaletteAnime(); @@ -28,7 +28,10 @@ public: mSECount = 0; } BOOL IsFine() const { - return (mSkyState == 3) || (mSkyState == 4); + BOOL result = true; + if (mSkyState == 3 || mSkyState == 4) + result = false; + return result; } BOOL IsSnow() const { return (mSkyState == 4); } BOOL IsShininDay() const { |