Skip to content

Commit

Permalink
Palette indexes should be decimal.
Browse files Browse the repository at this point in the history
  • Loading branch information
MainMemory committed Apr 26, 2015
1 parent 5b57475 commit 7b577cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SKCModLoader/dllmain.cpp
Expand Up @@ -327,7 +327,7 @@ static void ProcessLevelINI(const IniGroup *group, const wstring &mod_dir)
else
lb->TilesSecondary = lb->TilesPrimary;
}
lb->Pal2 = lb->Pal1 = (uint8_t)group->getIntRadix("palette", 16, lb->Pal1);
lb->Pal2 = lb->Pal1 = (uint8_t)group->getInt("palette", lb->Pal1);
if (group->hasKeyNonEmpty("blocks1"))
{
void *tmp = ReadAllBytes(mod_dir + L'\\' + group->getWString("blocks1"));
Expand Down

0 comments on commit 7b577cb

Please sign in to comment.