Changed: #897 Missing ; after two nlassert calls (patch provided by vhelsing)
This commit is contained in:
parent
2f5e44db63
commit
8a1edbc395
2 changed files with 2 additions and 2 deletions
|
@ -4119,7 +4119,7 @@ CBotProfileFollowPos::CBotProfileFollowPos(CPathCont* pathCont, CProfileOwner* o
|
||||||
{
|
{
|
||||||
PROFILE_LOG("bot", "follow_pos", "ctor", "");
|
PROFILE_LOG("bot", "follow_pos", "ctor", "");
|
||||||
#ifdef NL_DEBUG
|
#ifdef NL_DEBUG
|
||||||
nlassert(pathCont)
|
nlassert(pathCont);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -623,7 +623,7 @@ void CWorldMap::serial(NLMISC::IStream &f)
|
||||||
{
|
{
|
||||||
#ifdef NL_DEBUG
|
#ifdef NL_DEBUG
|
||||||
nlassert(wpos.getRootCell()==rootCell);
|
nlassert(wpos.getRootCell()==rootCell);
|
||||||
nlassert(wpos.y()<=0 && wpos.x()>=0)
|
nlassert(wpos.y()<=0 && wpos.x()>=0);
|
||||||
#endif
|
#endif
|
||||||
rootCell->setWorldPosition(wpos, ind);
|
rootCell->setWorldPosition(wpos, ind);
|
||||||
ind++;
|
ind++;
|
||||||
|
|
Loading…
Reference in a new issue