warning: balloon_manager.cpp varios ordres de inicialització mal
This commit is contained in:
@@ -110,9 +110,9 @@ void BalloonManager::deployRandomFormation(int stage) {
|
|||||||
Balloon::Config config = {
|
Balloon::Config config = {
|
||||||
.x = balloon.x,
|
.x = balloon.x,
|
||||||
.y = balloon.y,
|
.y = balloon.y,
|
||||||
.vel_x = balloon.vel_x,
|
|
||||||
.type = balloon.type,
|
.type = balloon.type,
|
||||||
.size = balloon.size,
|
.size = balloon.size,
|
||||||
|
.vel_x = balloon.vel_x,
|
||||||
.speed = balloon_speed_,
|
.speed = balloon_speed_,
|
||||||
.creation_counter = static_cast<Uint16>(creation_time_enabled_ ? balloon.creation_counter : 0)};
|
.creation_counter = static_cast<Uint16>(creation_time_enabled_ ? balloon.creation_counter : 0)};
|
||||||
createBalloon(config);
|
createBalloon(config);
|
||||||
@@ -131,9 +131,9 @@ void BalloonManager::deployFormation(int formation_id) {
|
|||||||
Balloon::Config config = {
|
Balloon::Config config = {
|
||||||
.x = balloon.x,
|
.x = balloon.x,
|
||||||
.y = balloon.y,
|
.y = balloon.y,
|
||||||
.vel_x = balloon.vel_x,
|
|
||||||
.type = balloon.type,
|
.type = balloon.type,
|
||||||
.size = balloon.size,
|
.size = balloon.size,
|
||||||
|
.vel_x = balloon.vel_x,
|
||||||
.speed = balloon_speed_,
|
.speed = balloon_speed_,
|
||||||
.creation_counter = balloon.creation_counter};
|
.creation_counter = balloon.creation_counter};
|
||||||
createBalloon(config);
|
createBalloon(config);
|
||||||
@@ -147,9 +147,9 @@ void BalloonManager::deployFormation(int formation_id, float y) {
|
|||||||
Balloon::Config config = {
|
Balloon::Config config = {
|
||||||
.x = balloon.x,
|
.x = balloon.x,
|
||||||
.y = y,
|
.y = y,
|
||||||
.vel_x = balloon.vel_x,
|
|
||||||
.type = balloon.type,
|
.type = balloon.type,
|
||||||
.size = balloon.size,
|
.size = balloon.size,
|
||||||
|
.vel_x = balloon.vel_x,
|
||||||
.speed = balloon_speed_,
|
.speed = balloon_speed_,
|
||||||
.creation_counter = balloon.creation_counter};
|
.creation_counter = balloon.creation_counter};
|
||||||
createBalloon(config);
|
createBalloon(config);
|
||||||
|
|||||||
Reference in New Issue
Block a user