Added debug name to tires dropped in battle mode.

This commit is contained in:
hiker 2015-02-26 09:36:08 +11:00
parent 26b38a3afe
commit 58d9853542

View File

@ -1,5 +1,3 @@
// SuperTuxKart - a fun racing game with go-kart
// Copyright (C) 2006-2013 SuperTuxKart-Team
//
@ -342,6 +340,10 @@ void ThreeStrikesBattle::update(float dt)
TrackObjectPresentationMesh* tire_presentation =
new TrackObjectPresentationMesh(tire, tire_xyz, tire_hpr, tire_scale);
#ifdef DEBUG
tire_presentation->getNode()->setName("Tire on ground");
#endif
TrackObject* tire_obj = new TrackObject(tire_xyz, tire_hpr, tire_scale,
"movable", tire_presentation,
true /* is_dynamic */,