mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
CGE2: Fix possible null pointer dereference.
This commit is contained in:
parent
9dc06870e7
commit
2b60bb9cc3
@ -664,9 +664,10 @@ void Sprite::show() {
|
||||
e->_b0 = e->_b1;
|
||||
e->_p1 = _pos2D;
|
||||
e->_b1 = getShp();
|
||||
|
||||
if (!_flags._hide)
|
||||
e->_b1->show(e->_p1);
|
||||
}
|
||||
if (!_flags._hide)
|
||||
e->_b1->show(e->_p1);
|
||||
}
|
||||
|
||||
void Sprite::show(uint16 pg) {
|
||||
|
Loading…
Reference in New Issue
Block a user