diff options
author | Sven Hesse | 2008-06-01 01:32:28 +0000 |
---|---|---|
committer | Sven Hesse | 2008-06-01 01:32:28 +0000 |
commit | 8be7d3c5226028429e4771981070f80b69ac4d69 (patch) | |
tree | ff951f11b0e48680214655a9306471c7d22cc165 /engines/gob/variables.cpp | |
parent | 7d8a97b0afeb86a178914c351f48f1da5ccd0eef (diff) | |
download | scummvm-rg350-8be7d3c5226028429e4771981070f80b69ac4d69.tar.gz scummvm-rg350-8be7d3c5226028429e4771981070f80b69ac4d69.tar.bz2 scummvm-rg350-8be7d3c5226028429e4771981070f80b69ac4d69.zip |
Ooops, intialize variables properly.
svn-id: r32453
Diffstat (limited to 'engines/gob/variables.cpp')
-rw-r--r-- | engines/gob/variables.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/gob/variables.cpp b/engines/gob/variables.cpp index af93252fb0..0eea2f6547 100644 --- a/engines/gob/variables.cpp +++ b/engines/gob/variables.cpp @@ -35,6 +35,8 @@ Variables::Variables(uint32 size) { _vars = new byte[_size]; _sizes = new byte[_size]; + + clear(); } Variables::~Variables() { |