Avoid bounce karts from edges in soccer field.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -458,6 +458,10 @@ Material::Material(const XMLNode *node, int index, bool deprecated)
|
||||
{
|
||||
m_collision_reaction = PUSH_BACK;
|
||||
}
|
||||
else if (creaction == "push-soccer")
|
||||
{
|
||||
m_collision_reaction = PUSH_SOCCER_BALL;
|
||||
}
|
||||
else if (creaction.size() > 0)
|
||||
{
|
||||
fprintf(stderr, "[Material] WARNING: Unknown collision reaction '%s'\n", creaction.c_str());
|
||||
|
||||
Reference in New Issue
Block a user