summaryrefslogtreecommitdiff
path: root/src/link.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/link.c')
-rw-r--r--src/link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link.c b/src/link.c
index cb46a50ff..ed04cdc21 100644
--- a/src/link.c
+++ b/src/link.c
@@ -229,7 +229,7 @@ static const u8 sLinkErrorTextColor[] = { 0x00, 0x01, 0x02 };
bool8 IsWirelessAdapterConnected(void)
{
- if (gQuestLogState == 2 || gQuestLogState == 3)
+ if (QL_IS_PLAYBACK_STATE)
return FALSE;
SetWirelessCommType1();