Whoops
This commit is contained in:
parent
948f2bfe23
commit
c9f07a8efc
|
@ -170,7 +170,7 @@ extern s16 gMenuMode;
|
|||
static void controller_sdl_read(OSContPad *pad) {
|
||||
if (!init_ok) { return; }
|
||||
|
||||
if ((newcam_mouse == 1 || get_first_person_enabled() || gDjuiHudLockMouse) && !is_game_paused() && !gDjuiInMainMenu && !gDjuiChatBoxFocus && !gDjuiConsoleFocus && WAPI.has_focus()) {
|
||||
if ((newcam_mouse == 1 || get_first_person_enabled() || gDjuiHudLockMouse) && !is_game_paused() && !gDjuiPanelPauseCreated && !gDjuiInMainMenu && !gDjuiChatBoxFocus && !gDjuiConsoleFocus && WAPI.has_focus()) {
|
||||
controller_mouse_enter_relative();
|
||||
} else {
|
||||
controller_mouse_leave_relative();
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include "pc/djui/djui_console.h"
|
||||
#include "pc/djui/djui_hud_utils.h"
|
||||
#include "pc/djui/djui_panel_playerlist.h"
|
||||
#include "pc/djui/djui_panel_pause.h"
|
||||
#include "game/skybox.h"
|
||||
#include "pc/gfx/gfx_pc.h"
|
||||
#include "include/course_table.h"
|
||||
|
@ -265,7 +264,7 @@ void hud_set_flash(s8 value) {
|
|||
|
||||
extern s16 gMenuMode;
|
||||
bool is_game_paused(void) {
|
||||
return gMenuMode != -1 || gDjuiPanelPauseCreated;
|
||||
return gMenuMode != -1;
|
||||
}
|
||||
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue