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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user