Fixed compile error on Mac.
This commit is contained in:
parent
4f7ed1467e
commit
df75a95ffa
1 changed files with 2 additions and 1 deletions
|
@ -118,8 +118,9 @@ void mapbuilder_visitor::restore_normal_map()
|
|||
{
|
||||
mode_ = RESTORE_NORMAL_MAP;
|
||||
action_queue::const_reverse_iterator rit;
|
||||
action_queue::const_reverse_iterator end = applied_actions_.rend();
|
||||
//applied_actions_ contain only the actions that we applied to the unit map
|
||||
for (rit = applied_actions_.rbegin(); rit != applied_actions_.rend(); ++rit)
|
||||
for (rit = applied_actions_.rbegin(); rit != end; ++rit)
|
||||
{
|
||||
if ((*rit)->is_valid())
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue