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

hg/feature/sound
kervala 15 years ago
parent bec9f0f252
commit a0ca31041e

@ -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…
Cancel
Save