diff options
-rw-r--r-- | engines/sludge/zbuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sludge/zbuffer.cpp b/engines/sludge/zbuffer.cpp index 02dddd068e..4d2ae01f10 100644 --- a/engines/sludge/zbuffer.cpp +++ b/engines/sludge/zbuffer.cpp @@ -137,7 +137,7 @@ bool GraphicsManager::setZBuffer(int num) { for (uint y = 0; y < _sceneHeight; y++) { for (uint x = 0; x < _sceneWidth; x++) { - int n; + int n = 0; if (stillToGo == 0) { n = readStream->readByte(); stillToGo = n >> 4; |