summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-24 22:48:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-24 22:48:35 +0300
commitb474de4a54c9b1d4d863971e40b807588d554436 (patch)
tree761e71f86ea232d1688ee2838bd2294c59dea947 /src/client.cpp
parenta316d537dce50f4b4e1e10f5c26a7851baddbd8b (diff)
downloadmanaverse-b474de4a54c9b1d4d863971e40b807588d554436.tar.gz
manaverse-b474de4a54c9b1d4d863971e40b807588d554436.tar.bz2
manaverse-b474de4a54c9b1d4d863971e40b807588d554436.tar.xz
manaverse-b474de4a54c9b1d4d863971e40b807588d554436.zip
replace defines to consts.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 8a8fcd06c..3deb72488 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -549,7 +549,7 @@ void Client::gameInit()
// Theme::prepareThemePath();
// Initialize the item and emote shortcuts.
- for (int f = 0; f < SHORTCUT_TABS; f ++)
+ for (unsigned f = 0; f < SHORTCUT_TABS; f ++)
itemShortcut[f] = new ItemShortcut(f);
emoteShortcut = new EmoteShortcut;
@@ -705,7 +705,7 @@ void Client::gameClear()
PlayerInfo::deinit();
// Before config.write() since it writes the shortcuts to the config
- for (int f = 0; f < SHORTCUT_TABS; f ++)
+ for (unsigned f = 0; f < SHORTCUT_TABS; f ++)
{
delete itemShortcut[f];
itemShortcut[f] = nullptr;
@@ -1753,7 +1753,7 @@ void Client::initServerConfig(std::string serverName)
player_relations.init();
// Initialize the item and emote shortcuts.
- for (int f = 0; f < SHORTCUT_TABS; f ++)
+ for (unsigned f = 0; f < SHORTCUT_TABS; f ++)
{
delete itemShortcut[f];
itemShortcut[f] = new ItemShortcut(f);