summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-29 08:46:00 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-29 08:46:00 +0000
commit4dbb3e75160e465dbcdb6de282d2e4ad8f89bdc0 (patch)
treee01b77e4d91f24ac9aa659c0fe87591ae079c29f /src/localplayer.cpp
parent38d84edf098551793b78b845156e7de240d0d8b0 (diff)
downloadmana-4dbb3e75160e465dbcdb6de282d2e4ad8f89bdc0.tar.gz
mana-4dbb3e75160e465dbcdb6de282d2e4ad8f89bdc0.tar.bz2
mana-4dbb3e75160e465dbcdb6de282d2e4ad8f89bdc0.tar.xz
mana-4dbb3e75160e465dbcdb6de282d2e4ad8f89bdc0.zip
Name structs with capital, just like classes.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 5bf6ec0e..7d734a2c 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -421,9 +421,9 @@ void LocalPlayer::lowerAttribute(size_t attr)
Net::GameServer::Player::lowerAttribute(attr + CHAR_ATTR_BEGIN);
}
-const struct LocalPlayer::skillInfo& LocalPlayer::getSkillInfo(int skill)
+const struct LocalPlayer::SkillInfo& LocalPlayer::getSkillInfo(int skill)
{
- static const skillInfo skills[CHAR_SKILL_NB + 1] =
+ static const SkillInfo skills[CHAR_SKILL_NB + 1] =
{
{ _("Unarmed"), "graphics/gui/unarmed.png" }, // CHAR_SKILL_WEAPON_NONE
{ _("Knife"), "graphics/gui/knife.png" }, // CHAR_SKILL_WEAPON_KNIFE