summaryrefslogtreecommitdiff
path: root/src/gui/setup_players.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-13 21:33:06 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-13 21:35:19 +0200
commit28bc8c0edb549cdbbe0832c4202630a039f738b1 (patch)
tree9989f31a5121f82af5aa264ebfe7096c5ea5030f /src/gui/setup_players.cpp
parent627e1bc7eee5b821d29b2161dec4991cae7bf9c0 (diff)
downloadmana-28bc8c0edb549cdbbe0832c4202630a039f738b1.tar.gz
mana-28bc8c0edb549cdbbe0832c4202630a039f738b1.tar.bz2
mana-28bc8c0edb549cdbbe0832c4202630a039f738b1.tar.xz
mana-28bc8c0edb549cdbbe0832c4202630a039f738b1.zip
Some cleanup of the Configuration interface
Mainly avoid all the convertions from integer to float and then to string and also back from string to float and then to integer.
Diffstat (limited to 'src/gui/setup_players.cpp')
-rw-r--r--src/gui/setup_players.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_players.cpp b/src/gui/setup_players.cpp
index 8925016b..9a3d6967 100644
--- a/src/gui/setup_players.cpp
+++ b/src/gui/setup_players.cpp
@@ -157,7 +157,7 @@ public:
gcn::DropDown *choicebox = dynamic_cast<gcn::DropDown *>(
getElementAt(row, RELATION_CHOICE_COLUMN));
player_relations.setRelation(getPlayerAt(row),
- static_cast<PlayerRelation::relation>(
+ static_cast<PlayerRelation::Relation>(
choicebox->getSelected()));
}