summaryrefslogtreecommitdiffhomepage
path: root/ConstantVelocity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ConstantVelocity.cpp')
-rw-r--r--ConstantVelocity.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/ConstantVelocity.cpp b/ConstantVelocity.cpp
index 37f3c3d..efe3117 100644
--- a/ConstantVelocity.cpp
+++ b/ConstantVelocity.cpp
@@ -3,15 +3,9 @@
#include <raylib.h>
-ConstantVelocitySystem::ConstantVelocitySystem() :
- ConstantVelocitySystem(10000)
+ConstantVelocitySystem::ConstantVelocitySystem()
{
-}
-
-
-ConstantVelocitySystem::ConstantVelocitySystem(int reserved)
-{
- m_bullets.reserve(reserved);
+ m_bullets.reserve(RESERVED);
}