Skip to content

Commit

Permalink
Listo para la entrega
Browse files Browse the repository at this point in the history
  • Loading branch information
agavinm committed May 25, 2020
1 parent 5585e29 commit b459ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Enemy.cpp
Expand Up @@ -144,7 +144,7 @@ void Enemy::autoControl(const Config &c, float playerPosX, float playerPosY) {
}

void Enemy::update(float iniPos, float endPos, float maxAggressiveness) {
speed = maxSpeed * random_float(0.25f, 1.0f);
speed = maxSpeed * random_float(0.25f, 0.75f);

posY = random_float(iniPos, endPos);
previousY = posY;
Expand Down

0 comments on commit b459ae1

Please sign in to comment.