MODIFIED: #1471 Incompatible / unincrementable iterators assert will no longer be hit in debug mode with M$ STL when updating the interface anims.

--HG--
branch : gsoc2012-gui-editor
hg/feature/sse2
dfighter1985 12 years ago
parent 3bcbcd45e7
commit 66d381f37d

@ -3072,9 +3072,8 @@ namespace NLGUI
void CWidgetManager::updateAnims()
{
std::vector< CInterfaceAnim* >::iterator itr;
for( itr = activeAnims.begin(); itr != activeAnims.end(); ++itr )
(*itr)->update();
for( std::vector< CInterfaceAnim* >::size_type i = 0; i < activeAnims.size(); i++ )
activeAnims[ i ]->update();
}

Loading…
Cancel
Save