Removed unnecessary if statement (since now virtual functions

work for ghost karts).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10948 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2012-03-07 03:18:53 +00:00
parent 72070db1a0
commit 2555cc6e59

View File

@@ -1937,8 +1937,7 @@ void Kart::loadData(RaceManager::KartType type, bool is_first_kart,
// attachment is needed in createPhysics (which gets the mass, which
// is dependent on the attachment).
m_attachment = new Attachment(this);
if(type!=RaceManager::KT_GHOST)
createPhysics();
createPhysics();
// Attach Particle System