diff options
author | majortom6 <tombarrett@siu.edu> | 2017-02-25 14:10:01 -0600 |
---|---|---|
committer | Tom Barrett <tombarrett@siu.edu> | 2017-03-07 13:23:42 -0600 |
commit | c6d10c3d73e99043a29897eecf59656a18db989d (patch) | |
tree | d8a2045c2a6950c9bd3cc53adc30b6b9c6ac35e9 /src | |
parent | d10f3df359cbccd1d7ee13b7981fee575a90637f (diff) |
-little touches
-need to solve bug with all creatures going to same resource
Diffstat (limited to 'src')
-rw-r--r-- | src/creature.cpp | 1 | ||||
-rw-r--r-- | src/quadtree.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/creature.cpp b/src/creature.cpp index 1564fc2..9cfdacb 100644 --- a/src/creature.cpp +++ b/src/creature.cpp @@ -1,5 +1,4 @@ #include "creature.hpp" -#include <cstdio> Creature::Creature(Rectangle r, DNA d) { diff --git a/src/quadtree.cpp b/src/quadtree.cpp index efd62c2..54a16c6 100644 --- a/src/quadtree.cpp +++ b/src/quadtree.cpp @@ -132,7 +132,7 @@ std::list<Entity*> Quadtree::retrieve(std::list<Entity*> returnObjects, Graphics returnObjects = nodes[index].retrieve(returnObjects, obj);
for(std::list <Entity*>::iterator it = objects.begin(); it!=objects.end(); it++)
- returnObjects.emplace_back(*it);
+ returnObjects.emplace_back(*it);
return returnObjects;
}
|