From faef1e1f8db1918c832c47109221d905bb81047b Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Tue, 29 Nov 2016 23:09:16 +0700 Subject: [PATCH] Tiny clean --- Source/GameDraw.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/GameDraw.cpp b/Source/GameDraw.cpp index 578e6f3..ae3c743 100644 --- a/Source/GameDraw.cpp +++ b/Source/GameDraw.cpp @@ -82,7 +82,7 @@ extern XYZ hotspot[40]; extern int hotspottype[40]; extern float hotspotsize[40]; extern char hotspottext[40][256]; -extern int currenthotspot;; +extern int currenthotspot; extern bool campaign; extern bool winfreeze; @@ -905,9 +905,8 @@ int Game::DrawGLScene(StereoSide side) } } } - if (closest != -1) + if (closest != -1) { currenthotspot = closest; - if (currenthotspot != -1) { if (hotspottype[closest] <= 10) { if (distsq(&Person::players[0]->coords, &hotspot[closest]) < hotspotsize[closest]) tutorialstagetime = 0; -- 2.39.5