Changeset 9840
- Timestamp:
- Dec 2, 2013, 2:38:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/wiimote/src/libraries/core/input/InputManager.cc
r9838 r9840 228 228 { 229 229 230 CWii wii; // Defaults to 4 remotes 230 231 232 static CWii wii; // Defaults to 4 remotes; static because else it will get deleted during InternalReload 231 233 std::vector< ::CWiimote>::iterator i; 232 234 int reloadWiimotes = 0; … … 234 236 235 237 // Find and connect to the wiimotes 236 st d::vector<CWiimote>& wiimotes = wii.FindAndConnect(10);238 static std::vector<CWiimote>& wiimotes = wii.FindAndConnect(10); //CWiimotes are kept in here in case of InternalReload calls 237 239 if (!wiimotes.size()) 238 240 {
Note: See TracChangeset
for help on using the changeset viewer.