Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6427


Ignore:
Timestamp:
Dec 28, 2009, 8:35:54 PM (15 years ago)
Author:
rgrieder
Message:

Fixed (whyever it works now) bug in KeyBind menu that caused an error when removing a binding.
Also removed a GCC warning.

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/gui/scripts/KeyBindMenu.lua

    r6417 r6427  
    217217    local buttonNr = tonumber(match())
    218218
    219     orxonox.KeyBinderManager:getInstance():unbind(orxonox.KeyBinderManager:getInstance():getCurrent():getBinding(commandList[commandNr], buttonNr))
     219    local str = orxonox.KeyBinderManager:getInstance():getCurrent():getBinding(commandList[commandNr], buttonNr)
     220    orxonox.KeyBinderManager:getInstance():unbind(str)
    220221
    221222    P.callback()
  • code/trunk/src/libraries/core/ConfigFileManager.h

    r6425 r6427  
    9292                : name_(name)
    9393                , value_(value)
     94                , additionalComment_(additionalComment)
    9495                , bString_(bString)
    95                 , additionalComment_(additionalComment)
    9696                { this->update(); }
    9797
Note: See TracChangeset for help on using the changeset viewer.