From 2c57380dccbf7d1201a061a520aa3e1cfa53ca4a Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 17 May 2010 10:39:47 +0200 Subject: [PATCH] Changed: #897 Missing ; after two nlassert calls (patch provided by vhelsing) --- code/ryzom/server/src/ai_service/ai_profile_npc.cpp | 2 +- code/ryzom/server/src/ai_share/world_map.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/server/src/ai_service/ai_profile_npc.cpp b/code/ryzom/server/src/ai_service/ai_profile_npc.cpp index f89cad815..7c4824dcc 100644 --- a/code/ryzom/server/src/ai_service/ai_profile_npc.cpp +++ b/code/ryzom/server/src/ai_service/ai_profile_npc.cpp @@ -4119,7 +4119,7 @@ CBotProfileFollowPos::CBotProfileFollowPos(CPathCont* pathCont, CProfileOwner* o { PROFILE_LOG("bot", "follow_pos", "ctor", ""); #ifdef NL_DEBUG - nlassert(pathCont) + nlassert(pathCont); #endif } diff --git a/code/ryzom/server/src/ai_share/world_map.cpp b/code/ryzom/server/src/ai_share/world_map.cpp index 414d921b4..da3c439c7 100644 --- a/code/ryzom/server/src/ai_share/world_map.cpp +++ b/code/ryzom/server/src/ai_share/world_map.cpp @@ -623,7 +623,7 @@ void CWorldMap::serial(NLMISC::IStream &f) { #ifdef NL_DEBUG nlassert(wpos.getRootCell()==rootCell); - nlassert(wpos.y()<=0 && wpos.x()>=0) + nlassert(wpos.y()<=0 && wpos.x()>=0); #endif rootCell->setWorldPosition(wpos, ind); ind++;