diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-15 17:49:01 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-15 17:49:01 +0000 |
commit | 8ed926ea15e8f151b8b81f93a5dccd0d53cf7ca1 (patch) | |
tree | 800d8d02db775b5f263eaee92c5cbf021d800e9f /src/being.cpp | |
parent | c92d7c1188febd7c5af15fa710ab06c3af4dede5 (diff) | |
download | mana-8ed926ea15e8f151b8b81f93a5dccd0d53cf7ca1.tar.gz mana-8ed926ea15e8f151b8b81f93a5dccd0d53cf7ca1.tar.bz2 mana-8ed926ea15e8f151b8b81f93a5dccd0d53cf7ca1.tar.xz mana-8ed926ea15e8f151b8b81f93a5dccd0d53cf7ca1.zip |
Cleaned up includes, separated engine from graphics and single buffer now
used throughout application, cleaned up shop functions.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being.cpp b/src/being.cpp index 4e421784..365ece88 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -99,9 +99,9 @@ unsigned int find_monster(unsigned short x, unsigned short y) { Being *find_node(unsigned int id) { std::list<Being*>::iterator i; for (i = beings.begin(); i != beings.end(); i++) { - Being *Being = (*i); - if (Being->id == id) { - return Being; + Being *being = (*i); + if (being->id == id) { + return being; } } return NULL; |