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:
Joni Vähämäki 2014-06-17 18:28:14 +03:00
parent 72a7f7c1b0
commit 75184a30b1

View File

@ -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() {