aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
diff options
context:
space:
mode:
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(){