Changeset 5015 in orxonox.OLD for orxonox/trunk/src/lib/event
- Timestamp:
- Aug 14, 2005, 5:25:53 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/event/key_mapper.cc
r5014 r5015 128 128 int* index; 129 129 130 while(iniParser->nextVar()) 130 iniParser->getFirstVar(); 131 while(iniParser->getCurrentName()) 131 132 { 132 133 PRINTF(3)("Keys: Parsing %s, %s now.\n", iniParser->getCurrentName(), iniParser->getCurrentValue()); 133 134 index = nameToIndex (iniParser->getCurrentValue()); 134 135 this->mapKeys(iniParser->getCurrentName(), index[1]); 136 iniParser->nextVar(); 135 137 } 136 138 … … 143 145 } 144 146 145 while( iniParser->nextVar()) 147 iniParser->getFirstVar(); 148 while(iniParser->getCurrentName()) 146 149 { 147 150 PRINTF(3)("MISC: Parsing %s, %s now.\n", iniParser->getCurrentName(), iniParser->getCurrentValue()); 148 151 index = nameToIndex (iniParser->getCurrentValue()); 149 152 this->mapKeys(iniParser->getCurrentName(), index[1]); 153 iniParser->nextVar(); 150 154 } 151 155 }
Note: See TracChangeset
for help on using the changeset viewer.