diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-08 20:42:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-08 20:42:40 +0300 |
commit | 1fcd75140b847a0e50584fc07fc47d90c9dd9fa8 (patch) | |
tree | 5c1b23c7eabc7d421f46d40ab0bf787ef7dac49b /src/gui/outfitwindow.cpp | |
parent | 53bc0b25c23f8f24d4119ae6fb5ba6ca0a91be19 (diff) | |
download | mv-1fcd75140b847a0e50584fc07fc47d90c9dd9fa8.tar.gz mv-1fcd75140b847a0e50584fc07fc47d90c9dd9fa8.tar.bz2 mv-1fcd75140b847a0e50584fc07fc47d90c9dd9fa8.tar.xz mv-1fcd75140b847a0e50584fc07fc47d90c9dd9fa8.zip |
Add small optimisations and fixes.
Diffstat (limited to 'src/gui/outfitwindow.cpp')
-rw-r--r-- | src/gui/outfitwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp index 93dbd77a9..9dd41a643 100644 --- a/src/gui/outfitwindow.cpp +++ b/src/gui/outfitwindow.cpp @@ -487,7 +487,7 @@ void OutfitWindow::unequipNotInOutfit(int outfit) } } -int OutfitWindow::keyToNumber(SDLKey key) +int OutfitWindow::keyToNumber(SDLKey key) const { int outfitNum = -1; switch (key) @@ -672,7 +672,7 @@ int OutfitWindow::keyToNumber(SDLKey key) return outfitNum; } -SDLKey OutfitWindow::numberToKey(int number) +SDLKey OutfitWindow::numberToKey(int number) const { SDLKey key = SDLK_UNKNOWN; switch (number) |