Changeset 5163 in orxonox.OLD for trunk/src/lib/shell/shell_command.cc
- Timestamp:
- Sep 5, 2005, 10:37:45 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.cc
r5161 r5163 35 35 // this->classID = classID; 36 36 this->className = className; //ClassList::IDToString(classID); 37 38 /* if (classID & CL_MASK_SINGLETON == CL_MASK_SINGLETON)39 this->isSingleton = true;40 else*/41 this->isSingleton = true;42 37 43 38 // handling parameters, and storing them: … … 149 144 PRINTF(4)("Class %s matches\n", elem->className); 150 145 BaseObject* objectPointer = NULL; 151 if ( elem->isSingleton)146 if (ClassList::StringToID(elem->className) & CL_MASK_SINGLETON == CL_MASK_SINGLETON) 152 147 { 153 148 while(*commandBegin == ' ')
Note: See TracChangeset
for help on using the changeset viewer.