Why do compilers assume i don't know order of opperations? :(

This commit is contained in:
Rachel Bryk 2013-09-22 22:01:25 -04:00
parent 184390d8d7
commit 0a093cf1b9
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ bool NetPlayClient::StartGame(const std::string &path)
if (m_pad_map[i] > 0) if (m_pad_map[i] > 0)
controllers_mask |= (1 << i); controllers_mask |= (1 << i);
if (m_wiimote_map[i] > 0) if (m_wiimote_map[i] > 0)
controllers_mask |= (1 << i + 4); controllers_mask |= (1 << (i + 4));
} }
Movie::BeginRecordingInput(controllers_mask); Movie::BeginRecordingInput(controllers_mask);
} }