diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-10-23 08:41:08 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-10-23 08:41:08 -0400 |
commit | f3693157df0217d9dde1638a46a69b37e997c8fb (patch) | |
tree | ecbaa00de6a5b9038664b8d9c09c24ec5d5585cb /src/world.cpp | |
parent | 19ba40a368b06c38365fe861b6de9403044096a7 (diff) |
fixed everything
Diffstat (limited to 'src/world.cpp')
-rw-r--r-- | src/world.cpp | 2 |
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(); } |