aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-10-23 08:48:10 -0400
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-10-23 08:48:10 -0400
commit7638fd9e6f3875faca536177083cdd7cb106b4c0 (patch)
tree6c88873020188c55f6618dc261494918b77599a9 /src/world.cpp
parent0b5a24d5c3ea48c748cfa28ae258cd65187f9bf1 (diff)
parentf3693157df0217d9dde1638a46a69b37e997c8fb (diff)
Worked on the new texture library
Diffstat (limited to 'src/world.cpp')
-rw-r--r--src/world.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.cpp b/src/world.cpp
index 98b9aa7..a05c155 100644
--- a/src/world.cpp
+++ b/src/world.cpp
@@ -182,7 +182,7 @@ LOOP2: // Draw each world
if(p->ground==1&&i<ph+6&&i>ph-6)cline[i].gs=false;
else cline[i].gs=true;
}
- for(i=0;i<entity.size()+1;i++){
+ for(i=0;i<entity.size();i++){
if(entity[i]->inWorld==this){
entity[i]->draw();
}