Changed: #897 Missing ; after two nlassert calls (patch provided by vhelsing)

This commit is contained in:
kervala 2010-05-17 10:39:47 +02:00
parent 2f5e44db63
commit 8a1edbc395
2 changed files with 2 additions and 2 deletions

View file

@ -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
} }

View file

@ -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++;