mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 17:57:14 +00:00
CGE2: Remove unnecessary parameter from Spare::sync().
This commit is contained in:
parent
f155546ecb
commit
927be46c87
@ -253,8 +253,8 @@ void CGE2Engine::syncGame(Common::SeekableReadStream *readStream, Common::WriteS
|
||||
// Synchronise header data
|
||||
syncHeader(s);
|
||||
|
||||
// Synchronise _spare and mingled with it, the sprites of the heroes'
|
||||
_spare->sync(s, _heroTab);
|
||||
// Synchronise _spare
|
||||
_spare->sync(s);
|
||||
|
||||
if (s.isSaving()) {
|
||||
// Save the references of the items in the heroes pockets:
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
namespace CGE2 {
|
||||
|
||||
void Spare::sync(Common::Serializer &s, HeroTab *heroTab[2]) {
|
||||
void Spare::sync(Common::Serializer &s) {
|
||||
if (s.isSaving()) {
|
||||
int size = 0;
|
||||
for (uint i = 0; i < _container.size(); i++)
|
||||
|
@ -46,7 +46,7 @@ public:
|
||||
void dispose(Sprite *spr);
|
||||
void dispose(int ref);
|
||||
void dispose();
|
||||
void sync(Common::Serializer &s, HeroTab *heroTab[2]);
|
||||
void sync(Common::Serializer &s);
|
||||
uint16 count() { return _container.size(); }
|
||||
void clear();
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user