From df266bc1663bd57e6465faaf66912615e9b9b6b0 Mon Sep 17 00:00:00 2001 From: Rodrigo Rebello Date: Wed, 2 Oct 2013 17:11:32 -0300 Subject: TSAGE: Fix uninitialized variable. This was caused by commit 81a2892229a053bb9c76dea4dbfb63ca13164946. --- engines/tsage/globals.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/tsage/globals.cpp b/engines/tsage/globals.cpp index 9bd7249902..ece6ae3eda 100644 --- a/engines/tsage/globals.cpp +++ b/engines/tsage/globals.cpp @@ -541,7 +541,7 @@ void Ringworld2Globals::synchronize(Serializer &s) { s.syncAsSint16LE(_v57C2C); s.syncAsSint16LE(_speechSubtitles); - byte temp; + byte temp = 0; s.syncAsByte(temp); s.syncAsByte(_s1550PlayerArea[R2_QUINN].x); s.syncAsByte(_s1550PlayerArea[R2_SEEKER].x); -- cgit v1.2.3