From d227d5862270f444b5e9911594f761d40025763b Mon Sep 17 00:00:00 2001 From: Patrik Gornicz Date: Tue, 18 Aug 2009 23:49:27 -0400 Subject: [PATCH] added usages of trim to lists --- src/entityCreator.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/entityCreator.cpp b/src/entityCreator.cpp index 34b9a56..f44eda0 100644 --- a/src/entityCreator.cpp +++ b/src/entityCreator.cpp @@ -29,8 +29,6 @@ /// ***** Private Variables ***** -//static bear::Queue s_test; - typedef bear::Queue queBall; typedef bear::Queue quePoly; @@ -105,6 +103,10 @@ void creator::init() points.push_back(Vector2(500,300)); addPoly(points, cRed, s_startPolys); + + + s_startPolys.trim(); + s_startBalls.trim(); } void creator::clean() { -- 2.10.2