diff options
author | Colin Snover | 2017-11-16 10:31:59 -0600 |
---|---|---|
committer | Eugene Sandulenko | 2017-11-18 22:35:12 +0100 |
commit | 715d4bd76ab749b88f888ea8196ce252de6140ad (patch) | |
tree | e781ceb72a4061dbd2cc4c96cd921c1aaf60737e /engines/fullpipe/scenes/scene35.cpp | |
parent | 6a13592633a6a4cf935409edd1c5504ef7dfa75e (diff) | |
download | scummvm-rg350-715d4bd76ab749b88f888ea8196ce252de6140ad.tar.gz scummvm-rg350-715d4bd76ab749b88f888ea8196ce252de6140ad.tar.bz2 scummvm-rg350-715d4bd76ab749b88f888ea8196ce252de6140ad.zip |
FULLPIPE: Fix memory leaks, ownership issues with various point lists
Diffstat (limited to 'engines/fullpipe/scenes/scene35.cpp')
-rw-r--r-- | engines/fullpipe/scenes/scene35.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/fullpipe/scenes/scene35.cpp b/engines/fullpipe/scenes/scene35.cpp index ed2ab46caa..abeffbee7f 100644 --- a/engines/fullpipe/scenes/scene35.cpp +++ b/engines/fullpipe/scenes/scene35.cpp @@ -141,9 +141,9 @@ void sceneHandler35_genFlies() { xoff += 40; - g_fp->_floaters->_array2[g_fp->_floaters->_array2.size() - 1]->val2 = 1084; - g_fp->_floaters->_array2[g_fp->_floaters->_array2.size() - 1]->val3 = y; - g_fp->_floaters->_array2[g_fp->_floaters->_array2.size() - 1]->val11 = 8.0; + g_fp->_floaters->_array2[g_fp->_floaters->_array2.size() - 1].val2 = 1084; + g_fp->_floaters->_array2[g_fp->_floaters->_array2.size() - 1].val3 = y; + g_fp->_floaters->_array2[g_fp->_floaters->_array2.size() - 1].val11 = 8.0; } g_vars->scene35_fliesCounter = 0; |