diff --git a/src/trigger.h b/src/trigger.h index 91d8e83..c825f5c 100644 --- a/src/trigger.h +++ b/src/trigger.h @@ -299,7 +299,6 @@ struct TrapLavaEmitter : Controller { Controller::applyGravity(velocity.y); pos += velocity * (30.0f * Core::deltaTime); - bool hit = false; if (!bounces && lara->collide(Sphere(pos, 0.0f))) { lara->hit(LAVA_PARTICLE_DAMAGE); bounces = LAVA_PARTICLE_BOUNCES + 1; diff --git a/src/ui.h b/src/ui.h index b5842dd..10d6f49 100644 --- a/src/ui.h +++ b/src/ui.h @@ -609,6 +609,7 @@ namespace UI { textOut(vec2(16, 32), hintStr, aLeft, width - 32, 255, UI::SHADE_GRAY); } + #if defined(_OS_WEB) || defined(_OS_WIN) || defined(_OS_LINUX) || defined(_OS_MAC) || defined(_OS_RPI) if (showHelp) { textOut(vec2(32, 32), STR_HELP_TEXT, aLeft, width - 32, 255, UI::SHADE_GRAY); } else { @@ -616,6 +617,8 @@ namespace UI { textOut(vec2(0, height - 32), STR_HELP_PRESS, aCenter, width, 255, UI::SHADE_ORANGE); } } + #endif + #ifdef UI_SHOW_FPS char buf[256]; sprintf(buf, "%d", Core::stats.fps);