summaryrefslogtreecommitdiff
path: root/src/units.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-08 00:49:41 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-08 00:49:41 +0300
commitff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9 (patch)
tree51a99a43eba0b09ca9e5f554b3676d0308685797 /src/units.cpp
parent538261b13990ee02bbc62d9704233885b15cee04 (diff)
downloadmanaverse-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.tar.gz
manaverse-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.tar.bz2
manaverse-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.tar.xz
manaverse-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.zip
Fix code style with new tool.
Diffstat (limited to 'src/units.cpp')
-rw-r--r--src/units.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/units.cpp b/src/units.cpp
index 804512dbd..1440cff9f 100644
--- a/src/units.cpp
+++ b/src/units.cpp
@@ -150,12 +150,12 @@ void Units::loadUnits()
}
// Add one more level for saftey
- struct UnitLevel ll;
- ll.symbol = "";
- ll.count = INT_MAX;
- ll.round = 0;
+ struct UnitLevel lev;
+ lev.symbol = "";
+ lev.count = INT_MAX;
+ lev.round = 0;
- ud.levels.push_back(ll);
+ ud.levels.push_back(lev);
if (type == "weight")
units[UNIT_WEIGHT] = ud;