Mercurial > mm7
diff Render.cpp @ 767:45615cacad31
Fog fixed
author | Nomad |
---|---|
date | Sat, 23 Mar 2013 21:11:15 +0200 |
parents | 852ec78d9548 |
children | d170f23f70d1 |
line wrap: on
line diff
--- a/Render.cpp Sat Mar 23 20:22:51 2013 +0200 +++ b/Render.cpp Sat Mar 23 21:11:15 2013 +0200 @@ -634,7 +634,7 @@ array_77EC08[1999].field_24 = 0x2000000u; array_77EC08[1999].sTextureDeltaU = 224 * pMiscTimer->uTotalGameTimeElapsed; array_77EC08[1999].sTextureDeltaV = 224 * pMiscTimer->uTotalGameTimeElapsed; - if ( day_attrib & 1 + if ( day_attrib & DAY_ATTRIB_FOG && (LOWORD(v2) = LOWORD(pParty->uCurrentHour), pParty->uCurrentHour >= 5) && pParty->uCurrentHour < 0x15 || bUnderwater )