mirror of
https://github.com/mwpenny/portal64-still-alive.git
synced 2024-10-19 22:27:36 -04:00
Fix issue with portal not covering orange light decal
This commit is contained in:
parent
888dd96190
commit
d64d54a9e7
|
@ -285,7 +285,7 @@ void toLua(lua_State* L, Material* material) {
|
|||
|
||||
if (material->mState.hasRenderMode) {
|
||||
lua_createtable(L, 0, 0);
|
||||
switch (material->mState.cycle2RenderMode.GetZMode()) {
|
||||
switch (material->mState.cycle1RenderMode.GetZMode() | material->mState.cycle2RenderMode.GetZMode()) {
|
||||
case ZMODE_OPA:
|
||||
lua_pushstring(L, "ZMODE_OPA");
|
||||
lua_setfield(L, -2, "zMode");
|
||||
|
|
Loading…
Reference in a new issue