Skip to content

Commit

Permalink
Fix incorrect argument in call to xrDebug::fatal.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kovalenko committed Oct 8, 2014
1 parent 7202f23 commit 3a788d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrCDB/ISpatial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ void ISpatial_DB::insert (ISpatial* S)
if (!bValid)
{
CObject* O = dynamic_cast<CObject*>(S);
if (O) Debug.fatal(DEBUG_INFO,"Invalid OBJECT position or radius (%s)",O->cName());
if (O) Debug.fatal(DEBUG_INFO,"Invalid OBJECT position or radius (%s)",O->cName().c_str());
else {
CPS_Instance* P = dynamic_cast<CPS_Instance*>(S);
if (P) Debug.fatal(DEBUG_INFO,"Invalid PS spatial position{%3.2f,%3.2f,%3.2f} or radius{%3.2f}",VPUSH(S->spatial.sphere.P),S->spatial.sphere.R);
Expand Down

0 comments on commit 3a788d0

Please sign in to comment.