Commit 888944fb authored by Alexey Hohlov's avatar Alexey Hohlov
Browse files

Не нужно быть твердым объектом чтобы проверять столкновение с другими.

parent c4c1f831
......@@ -67,7 +67,7 @@ bool IObjectStatic::checkCollide(IObjectStatic *coll)
return false;
}
if (this->solid && coll->solid) {
if (coll->solid) {
std::cout << "check collide\n";
......@@ -82,5 +82,4 @@ bool IObjectStatic::checkCollide(IObjectStatic *coll)
IObjectStatic::~IObjectStatic()
{
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment