Bugfix to have multiple savegame names list vertically

svn-id: r26537
This commit is contained in:
Paul Gilbert 2007-04-17 03:47:47 +00:00
parent 969d257274
commit 23a86ea571

View file

@ -670,7 +670,7 @@ bool SaveRestoreDialog::show(bool saveDialog) {
// Write out any existing save names
for (index = 0; index < numSaves; ++index)
s->writeString(DIALOG_EDGE_SIZE, SR_SAVEGAME_NAMES_Y, saveNames[index]->c_str(), true);
s->writeString(DIALOG_EDGE_SIZE, SR_SAVEGAME_NAMES_Y + (index * 8), saveNames[index]->c_str(), true);
// Display the dialog
s->copyTo(&screen.screen(), SAVE_DIALOG_X, SAVE_DIALOG_Y);