mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-19 02:38:32 +00:00
DIRECTOR: It is fine to have non-existent references in score. Thus, hide the warning
This commit is contained in:
parent
bfba1d28b7
commit
7ee1c5d6fa
@ -600,10 +600,10 @@ void Frame::renderSprites(Graphics::ManagedSurface &surface, bool renderTrail) {
|
||||
} else {
|
||||
if (!_vm->getCurrentScore()->_castTypes.contains(_sprites[i]->_castId)) {
|
||||
if (!_vm->getSharedCastTypes()->contains(_sprites[i]->_castId)) {
|
||||
warning("Frame::renderSprites(): Cast id %d not found", _sprites[i]->_castId);
|
||||
debugC(1, kDebugImages, "Frame::renderSprites(): Cast id %d not found", _sprites[i]->_castId);
|
||||
continue;
|
||||
} else {
|
||||
warning("Frame::renderSprites(): Getting cast id %d from shared cast", _sprites[i]->_castId);
|
||||
debugC(1, kDebugImages, "Frame::renderSprites(): Getting cast id %d from shared cast", _sprites[i]->_castId);
|
||||
castType = _vm->getSharedCastTypes()->getVal(_sprites[i]->_castId);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user