summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp6
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;