From 0a093cf1b9ed57312eb3f668898b4ddb3a3ba70d Mon Sep 17 00:00:00 2001 From: Rachel Bryk Date: Sun, 22 Sep 2013 22:01:25 -0400 Subject: [PATCH] Why do compilers assume i don't know order of opperations? :( --- Source/Core/Core/Src/NetPlayClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/NetPlayClient.cpp b/Source/Core/Core/Src/NetPlayClient.cpp index 4e741ede1e..ad498ff744 100644 --- a/Source/Core/Core/Src/NetPlayClient.cpp +++ b/Source/Core/Core/Src/NetPlayClient.cpp @@ -492,7 +492,7 @@ bool NetPlayClient::StartGame(const std::string &path) if (m_pad_map[i] > 0) controllers_mask |= (1 << i); if (m_wiimote_map[i] > 0) - controllers_mask |= (1 << i + 4); + controllers_mask |= (1 << (i + 4)); } Movie::BeginRecordingInput(controllers_mask); }