diff options
author | Filippos Karapetis | 2009-09-24 10:58:00 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-09-24 10:58:00 +0000 |
commit | 2dbd096dd5b390c76b7b2ad0bed780eba8b09021 (patch) | |
tree | 7651cb5c7645d21b471ea721207cf5eaebe4e20e /engines/groovie/groovie.h | |
parent | 1cc326dda097ce13038c72469009206425266e2d (diff) | |
download | scummvm-rg350-2dbd096dd5b390c76b7b2ad0bed780eba8b09021.tar.gz scummvm-rg350-2dbd096dd5b390c76b7b2ad0bed780eba8b09021.tar.bz2 scummvm-rg350-2dbd096dd5b390c76b7b2ad0bed780eba8b09021.zip |
Changed _script to be a pointer, in order to control its creation/destruction, like the rest of the groovie engine parts, and resolve a potential issue that Microsoft claims to be severe (warning C4355, read more here: http://msdn.microsoft.com/en-us/library/3c594ae3.aspx)
svn-id: r44303
Diffstat (limited to 'engines/groovie/groovie.h')
-rw-r--r-- | engines/groovie/groovie.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/groovie/groovie.h b/engines/groovie/groovie.h index bf57ae77de..fa850b5019 100644 --- a/engines/groovie/groovie.h +++ b/engines/groovie/groovie.h @@ -87,7 +87,7 @@ public: Graphics::PixelFormat _pixelFormat; bool _mode8bit; - Script _script; + Script *_script; ResMan *_resMan; GrvCursorMan *_grvCursorMan; VideoPlayer *_videoPlayer; |