From e933ce3b8d90332f01aa854da1c1ee8faebd692a Mon Sep 17 00:00:00 2001 From: Allanis Date: Sun, 1 Jun 2014 14:19:40 +0100 Subject: [PATCH] [Fix] Fixed issue with interference not disappearing as it should. --- src/space.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/space.c b/src/space.c index a31fbb2..7a7e9fc 100644 --- a/src/space.c +++ b/src/space.c @@ -628,6 +628,11 @@ void space_init(const char* sysname) { } } } + + /* Clear interference if you leave system with interference. */ + if(cur_system->interference == 0.) + interference_alpha = 0.; + /* Reset player enemies. */ player_enemies = 0;