summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bratch <l_bratch@yahoo.co.uk>2010-11-26 13:36:52 +0000
committerLuke Bratch <l_bratch@yahoo.co.uk>2010-11-26 13:36:52 +0000
commitde9f40dfbba90e7ccb0ee5883a150f4e129a5674 (patch)
treef22457cd581f5ec93747a54cb7a79af50b03928b
parent3e45e8c0bdb2218bde1c861d14df7216316bbc05 (diff)
Creature: Set initial y-velocity to be GRAVITY
-rw-r--r--Creature.cpp2
1 files changed, 1 insertions, 1 deletions
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() {