Miscellaneous fixes.

This commit is contained in:
Guus Sliepen 2012-03-11 15:23:12 +01:00
parent b9d9158619
commit 76a1507c1b
3 changed files with 3 additions and 3 deletions

View File

@ -583,9 +583,10 @@ int galaxyMap()
sprintf(string, "Stationed At: %s", systemPlanet[currentGame.stationedPlanet].name);
iconInfo[9].image = textSurface(string, FONT_WHITE);
strcpy(string, "Destination: None");
if (currentGame.destinationPlanet > -1)
sprintf(string, "Destination: %s", systemPlanet[currentGame.destinationPlanet].name);
else
strcpy(string, "Destination: None");
iconInfo[10].image = textSurface(string, FONT_WHITE);
for (int i = 0 ; i < 9 ; i++)
iconInfo[i].x = (800 - iconInfo[i].image->w) / 2;

View File

@ -271,7 +271,6 @@ void doInfo()
}
checkTimer();
checkScriptEvents();
//engine.counter = 0;
engine.counter = (SDL_GetTicks() + 1000);
}
}

View File

@ -25,7 +25,7 @@ static event gameEvent[10];
static void setKlineGreeting()
{
char greet[][50] = {
static const char *greet[] = {
"How nice to see you again, Bainfield!",
"It all ends here, rebel!",
"I hope you won't disappoint me this time...",