Changeset 5499 in orxonox.OLD for trunk/src/util
- Timestamp:
- Nov 7, 2005, 10:56:58 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/loading/load_param.h
r5332 r5499 169 169 * @param type1 The type of the first functionParameter 170 170 * @param type2 The type of the second functionParameter 171 * 172 * @TODO DEFAULT VALUES HACK 171 173 */ 172 174 #define LoadParam2(type1, type2) \ … … 178 180 { \ 179 181 SubString subLoads(loadString); \ 180 if (subLoads.getCount() == 2) \182 if (subLoads.getCount() >= 1) \ 181 183 (*pt2Object.*function)(type1##_FUNC(subLoads.getString(0), default1), type2##_FUNC(subLoads.getString(1), default2)); \ 182 184 else \
Note: See TracChangeset
for help on using the changeset viewer.