diff options
Diffstat (limited to 'knights/board_2d.cpp')
-rw-r--r-- | knights/board_2d.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/knights/board_2d.cpp b/knights/board_2d.cpp index 27d9aed..c7c627c 100644 --- a/knights/board_2d.cpp +++ b/knights/board_2d.cpp @@ -180,7 +180,7 @@ void board_2d::drawMove( const ChessMove &chessMove, const bool &reverse ) /* Draw the originating position */ drawPosition( fromPtr ); - if( TQString( chessMove.SAN ).tqcontains( "o-o", FALSE ) ) + if( TQString( chessMove.SAN ).contains( "o-o", FALSE ) ) { /* This is a castle */ ChessMove newMove; @@ -188,7 +188,7 @@ void board_2d::drawMove( const ChessMove &chessMove, const bool &reverse ) newMove.fromRank = chessMove.fromRank; newMove.toRank = chessMove.toRank; newMove.ManTaken = Null; - if( TQString( chessMove.SAN ).tqcontains( "o-o-o", FALSE ) ) + if( TQString( chessMove.SAN ).contains( "o-o-o", FALSE ) ) { /* Queenside */ newMove.fromFile = 0; @@ -383,7 +383,7 @@ void board_2d::drawPosition( const int &pos ) } else cacheName += " "; - if( cache->tqfind( cacheName, buffer ) ) + if( cache->find( cacheName, buffer ) ) { /* Cache Hit... no need to redraw |