fix: ratolí visible en fullscreen
This commit is contained in:
@@ -241,8 +241,8 @@ void EscenaJoc::actualitzar(float delta_time) {
|
||||
// Only allow join if there's an active game
|
||||
if (algun_jugador_viu) {
|
||||
// P2 can join if not currently playing (never joined OR dead without lives)
|
||||
bool p2_no_juga = !config_partida_.jugador2_actiu || // Never joined
|
||||
itocado_per_jugador_[1] == 999.0f; // Dead without lives
|
||||
bool p2_no_juga = !config_partida_.jugador2_actiu || // Never joined
|
||||
itocado_per_jugador_[1] == 999.0f; // Dead without lives
|
||||
|
||||
if (p2_no_juga) {
|
||||
if (input->checkActionPlayer2(InputAction::START, Input::DO_NOT_ALLOW_REPEAT)) {
|
||||
@@ -251,8 +251,8 @@ void EscenaJoc::actualitzar(float delta_time) {
|
||||
}
|
||||
|
||||
// P1 can join if not currently playing (never joined OR dead without lives)
|
||||
bool p1_no_juga = !config_partida_.jugador1_actiu || // Never joined
|
||||
itocado_per_jugador_[0] == 999.0f; // Dead without lives
|
||||
bool p1_no_juga = !config_partida_.jugador1_actiu || // Never joined
|
||||
itocado_per_jugador_[0] == 999.0f; // Dead without lives
|
||||
|
||||
if (p1_no_juga) {
|
||||
if (input->checkActionPlayer1(InputAction::START, Input::DO_NOT_ALLOW_REPEAT)) {
|
||||
|
||||
Reference in New Issue
Block a user