From de9f40dfbba90e7ccb0ee5883a150f4e129a5674 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Fri, 26 Nov 2010 13:36:52 +0000 Subject: Creature: Set initial y-velocity to be GRAVITY --- Creature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Creature.cpp') diff --git a/Creature.cpp b/Creature.cpp index ba2a790..b63bf6d 100644 --- a/Creature.cpp +++ b/Creature.cpp @@ -4,7 +4,7 @@ Creature::Creature() { std::cout << "Creature::Creature(): Creature created.\n"; xVel = 0; - yVel = 0; + yVel = GRAVITY; } int Creature::getXVel() { -- cgit v1.2.3