Miscellaneous fixes.
This commit is contained in:
parent
b9d9158619
commit
76a1507c1b
|
@ -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;
|
||||
|
|
|
@ -271,7 +271,6 @@ void doInfo()
|
|||
}
|
||||
checkTimer();
|
||||
checkScriptEvents();
|
||||
//engine.counter = 0;
|
||||
engine.counter = (SDL_GetTicks() + 1000);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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...",
|
||||
|
|
Loading…
Reference in New Issue