summaryrefslogtreecommitdiffstats
path: root/kspaceduel/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kspaceduel/mainview.cpp')
-rw-r--r--kspaceduel/mainview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kspaceduel/mainview.cpp b/kspaceduel/mainview.cpp
index 8204ffd0..39ab33b9 100644
--- a/kspaceduel/mainview.cpp
+++ b/kspaceduel/mainview.cpp
@@ -815,7 +815,7 @@ void MyMainView::collisions()
if((sprite->rtti()!=S_EXPLOSION)
&& !((sprite->rtti()!=S_SUN)&&(ship[pl]->getHitPoints()==0)))
if(ship[pl]->collidesWith(sprite))
- if(!hitlist.tqcontains(sprite))
+ if(!hitlist.contains(sprite))
hitlist.append(sprite);
}
@@ -906,7 +906,7 @@ void MyMainView::collisions()
sprite = (*it);
if(sprite->rtti()==S_BULLET)
if(mine->collidesWith(sprite))
- if(!hitlist.tqcontains(sprite))
+ if(!hitlist.contains(sprite))
hitlist.append(sprite);
}
if(hitlist.count()>0)
@@ -932,13 +932,13 @@ void MyMainView::collisions()
{
case S_BULLET:
if(sun->collidesWith(sprite))
- if(!hitlist.tqcontains(sprite))
+ if(!hitlist.contains(sprite))
hitlist.append(sprite);
break;
case S_MINE:
if(!((MobileSprite*)sprite)->isStopped())
if(sun->collidesWith(sprite))
- if(!hitlist.tqcontains(sprite))
+ if(!hitlist.contains(sprite))
hitlist.append(sprite);
break;
}