cppcheck
This commit is contained in:
@@ -261,15 +261,13 @@ Balloon::Balloon(float x, float y, Uint8 kind, float velx, float speed, Uint16 c
|
||||
stoppedCounter = 0;
|
||||
blinking = false;
|
||||
visible = true;
|
||||
invulnerable = true;
|
||||
beingCreated = true;
|
||||
creationCounter = creationtimer;
|
||||
creationCounterIni = creationtimer;
|
||||
popping = false;
|
||||
|
||||
// Actualiza valores
|
||||
beingCreated = creationCounter == 0 ? false : true;
|
||||
invulnerable = beingCreated == false ? false : true;
|
||||
// Valores iniciales dependentes del timer
|
||||
beingCreated = creationCounter != 0;
|
||||
invulnerable = beingCreated;
|
||||
|
||||
counter = 0;
|
||||
travelY = 1.0f;
|
||||
|
||||
Reference in New Issue
Block a user