1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-27 23:10:10 +02:00

fix unused

This commit is contained in:
XProger
2019-01-09 08:15:31 +03:00
parent 6d0cca4747
commit 799cdb6956
2 changed files with 3 additions and 1 deletions

View File

@@ -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;

View File

@@ -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);