fix a compil error on linux (compils with visual studio 2010)
This commit is contained in:
parent
3bbc975654
commit
21d93bc1d7
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ CAliasTreeOwner* CMgrFauna::createChild(IAliasCont* cont, CAIAliasDescriptionNod
|
|||
NLMISC::splitString(tail, "|", sFlags);
|
||||
FOREACHC(it, vector<string>, sFlags){
|
||||
TAStarFlag tmpflag = RYAI_MAP_CRUNCH::toAStarFlag(*it);
|
||||
if( (tmpflag == TAStarFlag::Nothing) &&
|
||||
if( (tmpflag == Nothing) &&
|
||||
it->compare("nothing")){ // this is not a valid AStarFlags => Let's preserve the default way the fauna is handled
|
||||
bAstarFlags = 0;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue