Fixed crash with Minecart. It was getting added twice to the world and it was causing and ASSERT to fail.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1425 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
4767a90b67
commit
d48a4507c9
@ -69,7 +69,6 @@ public:
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} // switch (m_ItemType)
|
} // switch (m_ItemType)
|
||||||
a_World->AddEntity(Minecart);
|
|
||||||
Minecart->Initialize(a_World);
|
Minecart->Initialize(a_World);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user