diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-26 16:44:16 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-26 16:44:16 -0400 |
commit | 5781bba3aa5764792b25a1d395cac388d001d713 (patch) | |
tree | 0ee3f3bba7a706d117320332b52b8db8ba4d673c /src/entities.cpp | |
parent | 75b782c83954e77554d2ad30f9e45e723e91765e (diff) |
fixed jumping for real
Diffstat (limited to 'src/entities.cpp')
-rw-r--r-- | src/entities.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/entities.cpp b/src/entities.cpp index 5da39dd..3c2120b 100644 --- a/src/entities.cpp +++ b/src/entities.cpp @@ -13,6 +13,7 @@ void Entity::spawn(float x, float y){ left = false; ticksToUse = 0; canMove = false; + ground = false; } void Entity::draw(void){ @@ -38,6 +39,7 @@ Player::Player(){ type = 0; subtype = 5; alive = true; + ground = false; } void Player::interact(){ @@ -55,8 +57,7 @@ NPC::NPC(){ } void NPC::interact(){ - loc.y += .01; - + //loc.y += .01; } Structures::Structures(){ |