diff options
Diffstat (limited to 'libkdegames/kgrid2d.h')
-rw-r--r-- | libkdegames/kgrid2d.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libkdegames/kgrid2d.h b/libkdegames/kgrid2d.h index 833db8ec..9443b0c7 100644 --- a/libkdegames/kgrid2d.h +++ b/libkdegames/kgrid2d.h @@ -498,9 +498,9 @@ class Hexagonal : public Generic<Type>, public HexagonalBase CoordList n = neighbours(*it, insideOnly); CoordList::const_iterator it2; for (it2=n.begin(); it2!=n.end(); ++it2) - if ( center.tqfind(*it2)==center.end() - && ring.tqfind(*it2)==ring.end() - && newRing.tqfind(*it2)==newRing.end() ) + if ( center.find(*it2)==center.end() + && ring.find(*it2)==ring.end() + && newRing.find(*it2)==newRing.end() ) newRing.append(*it2); center.append(*it); } |