mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 23:56:15 +00:00
MODIFIED: #1471 Incompatible / unincrementable iterators assert will no longer be hit in debug mode with M$ STL when updating the interface anims.
This commit is contained in:
parent
bbaefe88d5
commit
295ab058a5
1 changed files with 2 additions and 3 deletions
|
@ -3072,9 +3072,8 @@ namespace NLGUI
|
||||||
|
|
||||||
void CWidgetManager::updateAnims()
|
void CWidgetManager::updateAnims()
|
||||||
{
|
{
|
||||||
std::vector< CInterfaceAnim* >::iterator itr;
|
for( std::vector< CInterfaceAnim* >::size_type i = 0; i < activeAnims.size(); i++ )
|
||||||
for( itr = activeAnims.begin(); itr != activeAnims.end(); ++itr )
|
activeAnims[ i ]->update();
|
||||||
(*itr)->update();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue