- do{
- result = file->read_tag();
- if(!result)
- {
- if(file->tag.title_is("/TRANSITION"))
- {
- result = 1;
- }
- else
- if(file->tag.title_is("ON"))
- {
- on = 1;
- }
- else
- if(file->tag.title_is("KEYFRAME"))
- {
- keyframes->default_auto->load(file);;
- }
- }
- }while(!result);
+ while( !file->read_tag() ) {
+ if( file->tag.title_is("/TRANSITION") ) break;
+ if( file->tag.title_is("ON") ) { on = 1; continue; }
+ if( file->tag.title_is("KEYFRAME") )
+ keyframes->default_auto->load(file);;
+ }