fixed weird text added in

This commit is contained in:
swim67667
2026-06-22 01:46:21 -04:00
parent 21bd0c204e
commit 51b15daf2c
3 changed files with 0 additions and 24 deletions

View File

@@ -7,10 +7,7 @@
// let's a go!
float curhorvel=0.0f; //current horizonatal velocity
<<<<<<< HEAD
bool dir=0;
=======
>>>>>>> dff3a5d2c4b8cd3d6d86ab9792e394cd0d27a619
void UpdatePlayerControls(void)
{
// if there isn't a player, you probably can't do much
@@ -23,10 +20,7 @@ void UpdatePlayerControls(void)
// if a key pressed, push player to the left
if (IsKeyDown(KEY_A))
{
<<<<<<< HEAD
dir=1;
=======
>>>>>>> dff3a5d2c4b8cd3d6d86ab9792e394cd0d27a619
if(curhorvel<MAX_PLAYER_SPEED){
curhorvel=curhorvel*PLAYER_SPEED_FACTOR;
}
@@ -38,10 +32,7 @@ void UpdatePlayerControls(void)
// if d key pressed, push player to the right
else if (IsKeyDown(KEY_D))
{
<<<<<<< HEAD
dir=0;
=======
>>>>>>> dff3a5d2c4b8cd3d6d86ab9792e394cd0d27a619
if(curhorvel<=MAX_PLAYER_SPEED){
curhorvel=curhorvel*PLAYER_SPEED_FACTOR;
}