diff options
author | Colin Snover | 2017-11-14 13:03:15 -0600 |
---|---|---|
committer | Eugene Sandulenko | 2017-11-18 22:35:12 +0100 |
commit | 350ddcee102b56029c42016b8c116fc839936e1c (patch) | |
tree | 14404e13d8b0d3944da742a7db6f503e193648ff /engines/fullpipe/statics.h | |
parent | c85f409a0b2fa1094ebd1a51c088d2d830383d38 (diff) | |
download | scummvm-rg350-350ddcee102b56029c42016b8c116fc839936e1c.tar.gz scummvm-rg350-350ddcee102b56029c42016b8c116fc839936e1c.tar.bz2 scummvm-rg350-350ddcee102b56029c42016b8c116fc839936e1c.zip |
FULLPIPE: Take references instead of pointers for required arguments in statics, remove unnecessary Picture allocation
Diffstat (limited to 'engines/fullpipe/statics.h')
-rw-r--r-- | engines/fullpipe/statics.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/fullpipe/statics.h b/engines/fullpipe/statics.h index 24d9fd078f..46b4a4bf9c 100644 --- a/engines/fullpipe/statics.h +++ b/engines/fullpipe/statics.h @@ -78,7 +78,7 @@ class DynamicPhase : public StaticPhase { public: DynamicPhase(); - DynamicPhase(DynamicPhase *src, bool reverse); + DynamicPhase(DynamicPhase &src, bool reverse); virtual bool load(MfcArchive &file); @@ -89,12 +89,11 @@ class Statics : public DynamicPhase { public: int16 _staticsId; Common::String _staticsName; - Picture *_picture; + Picture _picture; public: Statics(); - Statics(Statics *src, bool reverse); - virtual ~Statics(); + Statics(Statics &src, bool reverse); virtual bool load(MfcArchive &file); virtual void init(); |