diff --git a/code/ryzom/common/src/game_share/object.cpp b/code/ryzom/common/src/game_share/object.cpp index ef567d31a..bb92c4936 100644 --- a/code/ryzom/common/src/game_share/object.cpp +++ b/code/ryzom/common/src/game_share/object.cpp @@ -1120,7 +1120,7 @@ CObject* CObjectTable::clone() const TContainer::const_iterator first(_Value.begin()), last(_Value.end()); for ( ;first != last; ++first ) { - BOMB_IF(!first->second, "Try to clone a table with an NULL component", return 0) + BOMB_IF(!first->second, "Try to clone a table with an NULL component", return 0); nlassert(first->second->getGhost() == this->getGhost()); CObject* clone = first->second->clone(); if (clone) { clone->setParent(0); } diff --git a/code/ryzom/common/src/game_share/timer.h b/code/ryzom/common/src/game_share/timer.h index e00dc3f84..1659464fa 100644 --- a/code/ryzom/common/src/game_share/timer.h +++ b/code/ryzom/common/src/game_share/timer.h @@ -424,7 +424,7 @@ inline void CTimerEvent::set(CTimer* owner,NLMISC::TGameCycle time,uint32 variat _Time = time + i; } } - BOMB_IF(best==NULL,"BUG: This can never happen!",return) + BOMB_IF(best == NULL, "BUG: This can never happen!", return); best->push_back(this); } @@ -452,7 +452,7 @@ inline void CTimerEvent::clear() inline void CTimerEvent::processEvent() { CTimer* owner=_Owner; - BOMB_IF(owner==NULL,"Attempt to process an event that no longer has a valid owner",return) + BOMB_IF(owner == NULL, "Attempt to process an event that no longer has a valid owner", return); // mark the event as expired - the state may be chnaged during the timer callback... // NOTE: This operation results in '_Owner' being set to NULL