summaryrefslogtreecommitdiff
path: root/src/emoteshortcut.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-12 18:29:12 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-13 04:41:55 +0300
commit6bd4fff31e0b44b8b71876250c626fe8c15b4105 (patch)
treecdd7f984a0850864316ae23c33120b6d282b70ba /src/emoteshortcut.cpp
parentf457675ecfd704c99e84fe14f0a1dd49a69a9c76 (diff)
downloadmanaverse-6bd4fff31e0b44b8b71876250c626fe8c15b4105.tar.gz
manaverse-6bd4fff31e0b44b8b71876250c626fe8c15b4105.tar.bz2
manaverse-6bd4fff31e0b44b8b71876250c626fe8c15b4105.tar.xz
manaverse-6bd4fff31e0b44b8b71876250c626fe8c15b4105.zip
Add missing checks to some files and style fixes.
Diffstat (limited to 'src/emoteshortcut.cpp')
-rw-r--r--src/emoteshortcut.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/emoteshortcut.cpp b/src/emoteshortcut.cpp
index 00d7264a4..352c373b5 100644
--- a/src/emoteshortcut.cpp
+++ b/src/emoteshortcut.cpp
@@ -34,7 +34,6 @@ EmoteShortcut *emoteShortcut;
EmoteShortcut::EmoteShortcut():
mEmoteSelected(0)
{
-// load();
for (int i = 0; i < SHORTCUT_EMOTES; i++)
mEmotes[i] = 0;
}
@@ -57,16 +56,6 @@ void EmoteShortcut::load()
j ++;
}
}
-
-/*
- for (int i = 0; i < SHORTCUT_EMOTES; i++)
- {
- unsigned char emoteId = static_cast<unsigned char>(
- serverConfig.getValue("emoteshortcut" + toString(i), i + 1));
- mEmotes[i] = emoteId;
-// mEmotes[i] = i + 1;
- }
-*/
}
void EmoteShortcut::save()