Mercurial > might-and-magic-trilogy
diff Outdoor.cpp @ 128:32805a956f49
4.11.12
author | Ritor1 |
---|---|
date | Sun, 04 Nov 2012 17:03:51 +0600 |
parents | 9eac46182d8f |
children | fe45d65251a5 |
line wrap: on
line diff
--- a/Outdoor.cpp Sun Nov 04 09:37:39 2012 +0600 +++ b/Outdoor.cpp Sun Nov 04 17:03:51 2012 +0600 @@ -1329,25 +1329,25 @@ if (bUnderwater) { - pPaletteManager->pPalette_tintColor[0] = 0x10; - pPaletteManager->pPalette_tintColor[1] = 0xC2; - pPaletteManager->pPalette_tintColor[2] = 0x99; - pPaletteManager->pPalette_mistColor[0] = 0x25; - pPaletteManager->pPalette_mistColor[1] = 0x8F; - pPaletteManager->pPalette_mistColor[2] = 0x5C; + pPaletteManager->field_267AD3 = 0x10; + pPaletteManager->field_267AD4 = 0xC2; + pPaletteManager->field_267AD5 = 0x99; + pPaletteManager->field_267AD0 = 0x25; + pPaletteManager->field_267AD1 = 0x8F; + pPaletteManager->field_267AD2 = 0x5C; } else { - pPaletteManager->pPalette_tintColor[0] = 0; - pPaletteManager->pPalette_tintColor[1] = 0; - pPaletteManager->pPalette_tintColor[2] = 0; - if (pPaletteManager->pPalette_mistColor[0] != 0x80 || - pPaletteManager->pPalette_mistColor[1] != 0x80 || - pPaletteManager->pPalette_mistColor[2] != 0x80) + pPaletteManager->field_267AD3 = 0; + pPaletteManager->field_267AD4 = 0; + pPaletteManager->field_267AD5 = 0; + if (pPaletteManager->field_267AD0 != 0x80 || + pPaletteManager->field_267AD1 != 0x80 || + pPaletteManager->field_267AD2 != 0x80) { - pPaletteManager->pPalette_mistColor[0] = 0x80; - pPaletteManager->pPalette_mistColor[1] = 0x80; - pPaletteManager->pPalette_mistColor[2] = 0x80; + pPaletteManager->field_267AD0 = 0x80; + pPaletteManager->field_267AD1 = 0x80; + pPaletteManager->field_267AD2 = 0x80; pPaletteManager->RecalculateAll(); } }