aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2010-08-16 21:13:05 +0000
committerEugene Sandulenko2010-10-12 22:50:47 +0000
commit0a7cdd7128fa440150511ae046a899f4ff3e459b (patch)
treeeeca7818e18c2bbb34472b7a4030932870a07652
parenta1d22a063b2a9de47cf3f23cac1cd73777eea321 (diff)
downloadscummvm-rg350-0a7cdd7128fa440150511ae046a899f4ff3e459b.tar.gz
scummvm-rg350-0a7cdd7128fa440150511ae046a899f4ff3e459b.tar.bz2
scummvm-rg350-0a7cdd7128fa440150511ae046a899f4ff3e459b.zip
SWORD25: Fix valgrind warning
svn-id: r53255
-rw-r--r--engines/sword25/gfx/renderobject.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/sword25/gfx/renderobject.cpp b/engines/sword25/gfx/renderobject.cpp
index 913aa9ef82..90c7daf7d2 100644
--- a/engines/sword25/gfx/renderobject.cpp
+++ b/engines/sword25/gfx/renderobject.cpp
@@ -63,15 +63,18 @@ BS_RenderObject::BS_RenderObject(BS_RenderObjectPtr<BS_RenderObject> ParentPtr,
m_X(0),
m_Y(0),
m_Z(0),
+ m_OldX(-1),
+ m_OldY(-1),
+ m_OldZ(-1),
m_Width(0),
m_Height(0),
m_Visible(true),
+ m_OldVisible(false),
m_ChildChanged(true),
m_Type(Type),
m_InitSuccess(false),
m_RefreshForced(true),
m_Handle(0) {
- m_OldBBox = BS_Rect(0, 0);
// Renderobject registrieren, abhängig vom Handle-Parameter entweder mit beliebigem oder vorgegebenen Handle.
if (Handle == 0)