diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-08 20:58:10 +0100 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-12-08 13:48:10 -0700 |
commit | 48c3263aa2540cd895b72edb0337e0717e136e3a (patch) | |
tree | f5b93df0b4bf209e73876161c30ef5fe4a00ff3b /src/resources/monsterdb.cpp | |
parent | 81cdc7b2d880f44df6e0a6de74183f36c53836a0 (diff) | |
download | mana-48c3263aa2540cd895b72edb0337e0717e136e3a.tar.gz mana-48c3263aa2540cd895b72edb0337e0717e136e3a.tar.bz2 mana-48c3263aa2540cd895b72edb0337e0717e136e3a.tar.xz mana-48c3263aa2540cd895b72edb0337e0717e136e3a.zip |
Code reformatting
I wish I had never fallen for this weird style, and I hope removing it
will prevent others from introducing new code like this. :-)
Diffstat (limited to 'src/resources/monsterdb.cpp')
-rw-r--r-- | src/resources/monsterdb.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/resources/monsterdb.cpp b/src/resources/monsterdb.cpp index 4d52b8ad..7e2d7a1d 100644 --- a/src/resources/monsterdb.cpp +++ b/src/resources/monsterdb.cpp @@ -141,8 +141,7 @@ MonsterDB::load() mLoaded = true; } -void -MonsterDB::unload() +void MonsterDB::unload() { delete_all(mMonsterInfos); mMonsterInfos.clear(); @@ -151,8 +150,7 @@ MonsterDB::unload() } -const MonsterInfo& -MonsterDB::get(int id) +const MonsterInfo &MonsterDB::get(int id) { MonsterInfoIterator i = mMonsterInfos.find(id); |