for(int j = 0; j < textures.size(); j++)
{
if( strcmp( textures[j].location, sFileName ) == 0 ) // sFileName is passed into the function we're in
{
textures.insert( textures.end() );
textures[ textures.size() - 1 ] = textures[j]; // i've overloaded the assignment operator to return *this
}
}
Do NOT let Dr. Mario touch your genitals. He is not a real doctor!
[edited by - eldee on May 21, 2003 5:49:32 PM]
[edited by - eldee on May 21, 2003 5:59:15 PM]