mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Removed vstd::advance. Added vstd::next to handle similar cases.
This commit is contained in:
@@ -149,7 +149,7 @@ void ResourceSet::nziterator::advance()
|
||||
{
|
||||
do
|
||||
{
|
||||
vstd::advance(cur.resType, +1);
|
||||
++cur.resType;
|
||||
} while(cur.resType < GameConstants::RESOURCE_QUANTITY && !(cur.resVal=rs[cur.resType]));
|
||||
|
||||
if(cur.resType >= GameConstants::RESOURCE_QUANTITY)
|
||||
|
||||
Reference in New Issue
Block a user