summaryrefslogtreecommitdiffstats
path: root/src/gldisc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gldisc.cpp')
-rw-r--r--src/gldisc.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gldisc.cpp b/src/gldisc.cpp
index 601ef25..48cd8be 100644
--- a/src/gldisc.cpp
+++ b/src/gldisc.cpp
@@ -73,6 +73,11 @@ void GLDisc::makeSurface(QVector<GLPoint> *pointContainer, QVector<GLshort> *ind
bool GLDisc::isHit(QVector3D p1, QVector3D p2)
{
+ if(!GLBody::isHit(p1, p2))
+ {
+ return false;
+ }
+
}