mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
ss not here
This commit is contained in:
parent
31acc46308
commit
e2a6c3f92c
|
|
@ -2467,6 +2467,8 @@ void LevelRenderer::renderHitOutline(std::shared_ptr<Player> player,
|
||||||
if (mode == 0 && h->type == HitResult::TILE) {
|
if (mode == 0 && h->type == HitResult::TILE) {
|
||||||
int iPad = mc->player->GetXboxPad(); // 4J added
|
int iPad = mc->player->GetXboxPad(); // 4J added
|
||||||
|
|
||||||
|
const float ss = 0.002f;
|
||||||
|
|
||||||
// 4J-PB - If Display HUD is false, don't render the hit outline
|
// 4J-PB - If Display HUD is false, don't render the hit outline
|
||||||
if (app.GetGameSettings(iPad, eGameSetting_DisplayHUD) == 0) return;
|
if (app.GetGameSettings(iPad, eGameSetting_DisplayHUD) == 0) return;
|
||||||
RenderManager.StateSetLightingEnable(false);
|
RenderManager.StateSetLightingEnable(false);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue