mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 02:17:05 +00:00
EMI: Don't set global alpha to 0 when light mode is set to LIGHT_NONE.
Fixes sprites not appearing in various places. For example the lights on Stan's house now show up.
This commit is contained in:
parent
72a7f7c1b0
commit
75184a30b1
@ -769,11 +769,6 @@ void Lua_V2::SetActorLighting() {
|
||||
|
||||
int lightMode = (int)lua_getnumber(lightModeObj);
|
||||
actor->setLightMode((Actor::LightMode)lightMode);
|
||||
|
||||
if (lightMode == Actor::LightNone) {
|
||||
actor->setGlobalAlpha(0.0f);
|
||||
actor->setAlphaMode(Actor::AlphaReplace);
|
||||
}
|
||||
}
|
||||
|
||||
void Lua_V2::SetActorCollisionMode() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user