aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-09-26 16:44:16 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-09-26 16:44:16 -0400
commit5781bba3aa5764792b25a1d395cac388d001d713 (patch)
tree0ee3f3bba7a706d117320332b52b8db8ba4d673c /src/entities.cpp
parent75b782c83954e77554d2ad30f9e45e723e91765e (diff)
fixed jumping for real
Diffstat (limited to 'src/entities.cpp')
-rw-r--r--src/entities.cpp5
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(){