mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 11:51:52 +00:00
EMI: Don't draw shadow actors if they are attached
This commit is contained in:
parent
8725276000
commit
d2078fafb9
@ -1310,10 +1310,12 @@ void Actor::draw() {
|
||||
g_driver->setShadow(NULL);
|
||||
}
|
||||
|
||||
// normal draw actor
|
||||
g_driver->startActorDraw(absPos, _scale, _yaw, _pitch, _roll, _inOverworld, _alphaMode != AlphaOff ? _globalAlpha : 1.f);
|
||||
costume->draw();
|
||||
g_driver->finishActorDraw();
|
||||
if (!isAttached() || !costume->getFilename().equals("fx/dumbshadow.cos")) {
|
||||
// normal draw actor
|
||||
g_driver->startActorDraw(absPos, _scale, _yaw, _pitch, _roll, _inOverworld, _alphaMode != AlphaOff ? _globalAlpha : 1.f);
|
||||
costume->draw();
|
||||
g_driver->finishActorDraw();
|
||||
}
|
||||
}
|
||||
|
||||
if (_mustPlaceText) {
|
||||
|
Loading…
Reference in New Issue
Block a user