From: Côme Chilliet Date: Tue, 29 Nov 2016 16:09:16 +0000 (+0700) Subject: Tiny clean X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=faef1e1f8db1918c832c47109221d905bb81047b;p=lugaru.git Tiny clean --- 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;