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;