Improve some logging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
1ab1a100b6
commit
aa3ac2849a
@ -498,7 +498,10 @@ void Track::convertTrackToBullet(scene::ISceneNode *node)
|
||||
return;
|
||||
break;
|
||||
default:
|
||||
printf("Unknown scene node type.\n");
|
||||
int type_as_int = node->getType();
|
||||
char* type = (char*)&type_as_int;
|
||||
printf("[Track::convertTrackToBullet] Unknown scene node type : %c%c%c%c.\n",
|
||||
type[0], type[1], type[2], type[3]);
|
||||
return;
|
||||
} // switch node->getType()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user