diff options
| author | Luke Bratch <l_bratch@yahoo.co.uk> | 2010-11-26 13:36:52 +0000 |
|---|---|---|
| committer | Luke Bratch <l_bratch@yahoo.co.uk> | 2010-11-26 13:36:52 +0000 |
| commit | de9f40dfbba90e7ccb0ee5883a150f4e129a5674 (patch) | |
| tree | f22457cd581f5ec93747a54cb7a79af50b03928b | |
| parent | 3e45e8c0bdb2218bde1c861d14df7216316bbc05 (diff) | |
Creature: Set initial y-velocity to be GRAVITY
| -rw-r--r-- | Creature.cpp | 2 |
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() { |
