added badman shooting and reloading
This commit is contained in:
@@ -73,6 +73,6 @@ void PlayerUpdate(F32 delta, Player *player) {
|
||||
}
|
||||
}
|
||||
dir = V2f_Scale(NormaliseV2F(dir), PLAYER_SPEED*delta);
|
||||
player->pos.x += dir.x;
|
||||
player->pos.y += dir.y;
|
||||
player->collision.pos.x += dir.x;
|
||||
player->collision.pos.y += dir.y;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user