From 4ff8240c9f6334a4455893f4f94033f150d484ba Mon Sep 17 00:00:00 2001 From: purerosefallen <78877@qq.com> Date: Wed, 23 May 2018 23:25:13 +0800 Subject: [PATCH] fix detect --- gframe/drawing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gframe/drawing.cpp b/gframe/drawing.cpp index 6bdc830d6..f782bae21 100644 --- a/gframe/drawing.cpp +++ b/gframe/drawing.cpp @@ -531,7 +531,7 @@ void Game::DrawMisc() { } } if(!dInfo.isReplay && dInfo.player_type < 7 && dInfo.time_limit) { - if(imageManager.tClock != NULL) { + if(imageManager.tClock) { driver->draw2DImage(imageManager.tClock, ResizeCardMid(472, 32, 490, 50, 490, 41), recti(0, 0, 128, 128), 0, 0, true); driver->draw2DImage(imageManager.tClock, ResizeCardMid(800, 32, 818, 50, 818, 41), recti(0, 0, 128, 128), 0, 0, true); }