diff options
Diffstat (limited to 'sky')
-rw-r--r-- | sky/screen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sky/screen.cpp b/sky/screen.cpp index 2f48daf6f6..15e5cd081b 100644 --- a/sky/screen.cpp +++ b/sky/screen.cpp @@ -427,8 +427,8 @@ void SkyScreen::processSequence(void) { } } while (nrToDo == 0xFF); } while (screenPos < (GAME_SCREEN_WIDTH * GAME_SCREEN_HEIGHT)); - uint8 *gridPtr = _seqGrid; uint8 *scrPtr = _currentScreen; uint8 *rectPtr; - uint8 rectWid = 0, rectX, rectY; + uint8 *gridPtr = _seqGrid; uint8 *scrPtr = _currentScreen; uint8 *rectPtr = NULL; + uint8 rectWid = 0, rectX = 0, rectY = 0; for (uint8 cnty = 0; cnty < 12; cnty++) { for (uint8 cntx = 0; cntx < 20; cntx++) { if (*gridPtr) { |