From bedd8c4d391635911602a43360040e78a6b4a8ba Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 2 Jun 2003 21:43:45 +0000 Subject: fixxed warning svn-id: r8277 --- sky/screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sky/screen.cpp') diff --git a/sky/screen.cpp b/sky/screen.cpp index 555b9f873d..b94ccfcdf2 100644 --- a/sky/screen.cpp +++ b/sky/screen.cpp @@ -187,7 +187,7 @@ void SkyScreen::flip(void) { uint8 *screenPos = _currentScreen; uint8 *backPos = _backScreen; uint32 copyX, copyWidth; - copyWidth = 0; + copyX = copyWidth = 0; for (uint8 cnty = 0; cnty < GRID_Y; cnty++) { for (uint8 cntx = 0; cntx < GRID_X; cntx++) { if (_gameGrid[cnty * GRID_X + cntx] & 1) { -- cgit v1.2.3