diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/keyboard.cc | 3 | ||||
-rw-r--r-- | src/client/soundext.cc | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/client/keyboard.cc b/src/client/keyboard.cc index 7486ff3..c2b3827 100644 --- a/src/client/keyboard.cc +++ b/src/client/keyboard.cc @@ -547,13 +547,10 @@ void Keyboard::list_binds() unsigned int Keyboard::translate_keysym(int keysym, int modifier) { - bool shift = false; - bool numlock = false; // keypad keys if (modifier & KMOD_NUM) { - numlock = true; switch (keysym) { case SDLK_KP0: return '0'; diff --git a/src/client/soundext.cc b/src/client/soundext.cc index db8f642..e9d2deb 100644 --- a/src/client/soundext.cc +++ b/src/client/soundext.cc @@ -104,11 +104,11 @@ SoundExt::SoundExt(core::Entity *entity) : core::Extension(core::Extension::Soun if (entity->type() == core::Entity::Controlable) { core::EntityControlable *entityco = static_cast<core::EntityControlable *>(entity); unsigned int enginesoundset = 0; - unsigned int impulsesoundset = 0; + //unsigned int impulsesoundset = 0; if (entityco->model()) { enginesoundset = entityco->model()->enginesound(); - impulsesoundset = entityco->model()->impulsesound(); + //impulsesoundset = entityco->model()->impulsesound(); } std::stringstream soundname; |