diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b2725779e..dcb2b4839 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1359,7 +1359,8 @@ if( APPLE ) set_target_properties(zdoom PROPERTIES LINK_FLAGS "${LINK_FRAMEWORKS}" - MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/posix/osx/zdoom-info.plist" ) + MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/posix/osx/zdoom-info.plist" + XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "" ) # Dymanic libraries like libvulkan.dylib or libMoltenVK.dylib will be loaded by dlopen() # if placed in the directory with the main executable diff --git a/src/rendering/swrenderer/scene/r_light.cpp b/src/rendering/swrenderer/scene/r_light.cpp index 13c19bf93..0f4914ff6 100644 --- a/src/rendering/swrenderer/scene/r_light.cpp +++ b/src/rendering/swrenderer/scene/r_light.cpp @@ -205,7 +205,10 @@ namespace swrenderer int shade = LightVisibility::LightLevelToShade(lightlevel, foggy, thread->Viewport.get()); if (psprite) + { + visibility = 0; shade -= 24 * FRACUNIT; + } BaseColormap = basecolormap; ColormapNum = GETPALOOKUP(visibility, shade); diff --git a/wadsrc/static/zscript/ui/statusbar/alt_hud.zs b/wadsrc/static/zscript/ui/statusbar/alt_hud.zs index dd9f3d0ce..b0efdc541 100644 --- a/wadsrc/static/zscript/ui/statusbar/alt_hud.zs +++ b/wadsrc/static/zscript/ui/statusbar/alt_hud.zs @@ -68,7 +68,7 @@ class AltHud ui if (IndexFont == NULL) IndexFont = ConFont; // Emergency fallback invgem_left = TexMan.CheckForTexture("INVGEML1", TexMan.Type_MiscPatch); - invgem_left = TexMan.CheckForTexture("INVGEMR1", TexMan.Type_MiscPatch); + invgem_right = TexMan.CheckForTexture("INVGEMR1", TexMan.Type_MiscPatch); tnt1a0 = TexMan.CheckForTexture("TNT1A0", TexMan.Type_Sprite); fragpic = TexMan.CheckForTexture("HU_FRAGS", TexMan.Type_MiscPatch); statspace = SmallFont.StringWidth("Ac:");