diff options
author | Paul Gilbert | 2019-02-23 11:13:19 -0800 |
---|---|---|
committer | Paul Gilbert | 2019-02-23 11:13:19 -0800 |
commit | eacc4e52d14a4929323df30da6346b6bbacda9b8 (patch) | |
tree | a3e44085a9972ee2ceb030dd4fc093838faba426 /engines/glk/frotz | |
parent | 7b303ad94668690a1defb25ea72afc0d5cacb958 (diff) | |
download | scummvm-rg350-eacc4e52d14a4929323df30da6346b6bbacda9b8.tar.gz scummvm-rg350-eacc4e52d14a4929323df30da6346b6bbacda9b8.tar.bz2 scummvm-rg350-eacc4e52d14a4929323df30da6346b6bbacda9b8.zip |
GLK: FROTZ: Fix initialization of zcolors array
Diffstat (limited to 'engines/glk/frotz')
-rw-r--r-- | engines/glk/frotz/glk_interface.cpp | 4 | ||||
-rw-r--r-- | engines/glk/frotz/glk_interface.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/glk/frotz/glk_interface.cpp b/engines/glk/frotz/glk_interface.cpp index 48203bf7e5..dda932dc3d 100644 --- a/engines/glk/frotz/glk_interface.cpp +++ b/engines/glk/frotz/glk_interface.cpp @@ -68,8 +68,8 @@ void GlkInterface::initialize() { 0x2D6B, ///< 12 = dark grey }; - zcolors[0] = -2; // Current - zcolors[1] = -1; // Default + zcolors[0] = zcolor_Current; // Current + zcolors[1] = zcolor_Default; // Default for (int i = 2; i < zcolor_NUMCOLORS; ++i) zcolors[i] = zRGB(COLOR_MAP[i - 2]); diff --git a/engines/glk/frotz/glk_interface.h b/engines/glk/frotz/glk_interface.h index ea7a104b8a..b52fdc4e6d 100644 --- a/engines/glk/frotz/glk_interface.h +++ b/engines/glk/frotz/glk_interface.h @@ -61,7 +61,7 @@ private: public: Pics *_pics; zchar statusline[256]; - int zcolors[zcolor_NUMCOLORS]; + uint zcolors[zcolor_NUMCOLORS]; int oldstyle; int curstyle; int cury; |