diff options
author | Strangerke | 2016-05-23 01:49:50 +0200 |
---|---|---|
committer | Strangerke | 2016-05-23 01:49:50 +0200 |
commit | a586f7701d7e791668ed725d56a702dba64e8d65 (patch) | |
tree | 3fa16a778b7708e8aba0ee76715b169f6c7be959 /engines/gnap/resource.h | |
parent | 2a2082c1f9dcb3a85801d6813273ef8362caf6be (diff) | |
download | scummvm-rg350-a586f7701d7e791668ed725d56a702dba64e8d65.tar.gz scummvm-rg350-a586f7701d7e791668ed725d56a702dba64e8d65.tar.bz2 scummvm-rg350-a586f7701d7e791668ed725d56a702dba64e8d65.zip |
GNAP: Remove useless in ResourceClass constructor
Diffstat (limited to 'engines/gnap/resource.h')
-rw-r--r-- | engines/gnap/resource.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/gnap/resource.h b/engines/gnap/resource.h index 1b228de81e..29bd31c88f 100644 --- a/engines/gnap/resource.h +++ b/engines/gnap/resource.h @@ -66,7 +66,7 @@ struct SequenceAnimation { class SequenceResource { public: - SequenceResource(int resourceId, byte *data, uint32 size); + SequenceResource(byte *data, uint32 size); ~SequenceResource(); public: int32 _sequenceId; @@ -83,7 +83,7 @@ public: class SpriteResource { public: - SpriteResource(int resourceId, byte *data, uint32 size); + SpriteResource(byte *data, uint32 size); ~SpriteResource(); public: byte *_data; @@ -98,7 +98,7 @@ public: class SoundResource { public: - SoundResource(int resourceId, byte *data, uint32 size); + SoundResource(byte *data, uint32 size); ~SoundResource(); public: byte *_data; @@ -172,7 +172,7 @@ protected: byte *resourceData = _dat->loadResource(resourceId); uint32 resourceSize = _dat->getResourceSize(resourceId); - ResourceClass *obj = new ResourceClass(resourceId, resourceData, resourceSize); + ResourceClass *obj = new ResourceClass(resourceData, resourceSize); if (FreeAfterLoad) delete[] resourceData; return obj; |