diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2015-12-14 08:46:53 -0500 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2015-12-14 08:46:53 -0500 |
commit | bdf7afae547976b99962769e75ec970729b556dc (patch) | |
tree | 8742faec62bfbcfb326e1a6ba6f43d3ac3d4a0b0 /src | |
parent | 840cf5f0d3fc60aceb95385010eac02ae6c95dcc (diff) |
Added Particles
Diffstat (limited to 'src')
-rw-r--r-- | src/gameplay.cpp | 1 | ||||
-rw-r--r-- | src/world.cpp | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/gameplay.cpp b/src/gameplay.cpp index f922b03..69ae2cc 100644 --- a/src/gameplay.cpp +++ b/src/gameplay.cpp @@ -142,7 +142,6 @@ void initEverything(void){ currentWorld = worldSpawnHill1; - worldSpawnHill2->addStructure(STRUCTURET,FOUNTAIN,(rand()%120*HLINE)+100*HLINE,100,worldSpawnHill2,worldSpawnHill2); player = new Player(); player->spawn(200,100); diff --git a/src/world.cpp b/src/world.cpp index 6909cf7..1b460a2 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -109,11 +109,10 @@ void World::deleteEntities(void){ while(!entity.empty()){ entity.pop_back(); } - while(!particles.empty()){ delete particles.back(); particles.pop_back(); - }//particles.clear(); + } } World::~World(void){ |