[Scummvm-git-logs] scummvm master -> f140c114d6fc686123fc2c15a0d881c8a1e2f2c4
aquadran
noreply at scummvm.org
Mon Sep 15 10:48:57 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
f140c114d6 WINTERMUTE: Small sync with original code
Commit: f140c114d6fc686123fc2c15a0d881c8a1e2f2c4
https://github.com/scummvm/scummvm/commit/f140c114d6fc686123fc2c15a0d881c8a1e2f2c4
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2025-09-15T12:48:51+02:00
Commit Message:
WINTERMUTE: Small sync with original code
Changed paths:
engines/wintermute/base/particles/part_particle.cpp
diff --git a/engines/wintermute/base/particles/part_particle.cpp b/engines/wintermute/base/particles/part_particle.cpp
index 515e5e0d2b0..51c1aa506de 100644
--- a/engines/wintermute/base/particles/part_particle.cpp
+++ b/engines/wintermute/base/particles/part_particle.cpp
@@ -28,6 +28,7 @@
#include "engines/wintermute/base/particles/part_particle.h"
#include "engines/wintermute/base/particles/part_emitter.h"
#include "engines/wintermute/base/base_sprite.h"
+#include "engines/wintermute/base/base_game.h"
#include "engines/wintermute/utils/utils.h"
#include "engines/wintermute/platform_osystem.h"
#include "engines/wintermute/dcgf.h"
@@ -78,7 +79,7 @@ bool PartParticle::setSprite(const char *filename) {
SAFE_DELETE(_sprite);
SystemClassRegistry::getInstance()->_disabled = true;
- _sprite = new BaseSprite(_game, (BaseObject *)_game);
+ _sprite = new BaseSprite(_game, _game);
if (_sprite && DID_SUCCEED(_sprite->loadFile(filename))) {
SystemClassRegistry::getInstance()->_disabled = false;
return STATUS_OK;
More information about the Scummvm-git-logs
mailing list