diff options
Diffstat (limited to 'src/client/hud.cc')
-rw-r--r-- | src/client/hud.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/hud.cc b/src/client/hud.cc index 014f4df..c1cd8c1 100644 --- a/src/client/hud.cc +++ b/src/client/hud.cc @@ -246,7 +246,7 @@ void HUD::draw() } } - unsigned int state = core::localcontrol()->eventstate(); + unsigned int state = core::localcontrol()->state(); if (state) { std::stringstream statestr; statestr.clear(); @@ -322,13 +322,13 @@ void HUD::draw() gl::end(); float u = core::localcontrol()->thrust(); - if (core::localcontrol()->eventstate() == core::Entity::Impulse) { + if (core::localcontrol()->state() == core::Entity::Impulse) { u = 1.0; } - if (( u > 0) || (core::localcontrol()->eventstate() == core::Entity::Impulse)) { + if (( u > 0) || (core::localcontrol()->state() == core::Entity::Impulse)) { - if (core::localcontrol()->eventstate() == core::Entity::Impulse) { + if (core::localcontrol()->state() == core::Entity::Impulse) { gl::color(0, .8, 0); } else { float d = math::absf(input::local_thrust - u); |