-
Notifications
You must be signed in to change notification settings - Fork 0
Selected.cpp
b3ngr33ni3r edited this page Dec 8, 2011
·
1 revision
for ( it=Objects.begin() ; it < Objects.end(); it++ ) if (it->ElementName.compare(In) == 0) return *it;
Doing Both These To Get First By Name, Otherwise By Type, Will Glitch Potentially If ElementName = A ElementType
for ( it=Objects.begin() ; it < Objects.end(); it++ ) if (it->ElementType.compare(In) == 0) return *it;