From a782a3c60e1df673f48781b620b6cd406e1eae93 Mon Sep 17 00:00:00 2001 From: Allanis Date: Sat, 14 Dec 2013 23:21:23 +0000 Subject: [PATCH] [Fix] A few more general fixes. --- dat/missions/cargo.lua | 4 ++-- src/map.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dat/missions/cargo.lua b/dat/missions/cargo.lua index a71fa05..1f7a4e7 100644 --- a/dat/missions/cargo.lua +++ b/dat/missions/cargo.lua @@ -31,9 +31,9 @@ else -- Default english. msg_title[1] = "Too many missions" msg_msg[1] = "You have too many active missions." msg_title[2] = "Succesful Delivery" - msg__msg[2] = "The workers unload the %s at the docks." + msg_msg[2] = "The workers unload the %s at the docks." msg_title[3] = "Cargo Missing" - msg__msg[3] = "You are missing the %d tons of %s!." + msg_msg[3] = "You are missing the %d tons of %s!." msg_msg[4] = "MISSION FAILED: You have failed to delivery the goods on time!" end diff --git a/src/map.c b/src/map.c index 5fc0e19..891f4d9 100644 --- a/src/map.c +++ b/src/map.c @@ -188,6 +188,7 @@ static void map_update(void) { standing = 0; nstanding = 0; + f = -1; for(i = 0; i < sys->nplanets; i++) { if((f == -1) && (sys->planets[i]->faction > 0)) { f = sys->planets[i]->faction;