mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
KYRA: (EOB) - fix bug #3600348
(EOB1: Crash when moving in German version)
This commit is contained in:
parent
12864da659
commit
a33045f4fa
@ -387,6 +387,8 @@ void EoBEngine::loadDoorShapes(int doorType1, int shapeId1, int doorType2, int s
|
||||
void EoBEngine::drawDoorIntern(int type, int index, int x, int y, int w, int wall, int mDim, int16 y1, int16 y2) {
|
||||
int shapeIndex = type + 2 - mDim;
|
||||
uint8 *shp = _doorShapes[shapeIndex];
|
||||
if (!shp)
|
||||
return;
|
||||
|
||||
int d1 = 0;
|
||||
int d2 = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user