Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 4780 → Rev 4781

/polymer/eduke32/source/game.c
8982,7 → 8982,16
g_screenCapture = 0;
 
if (g_lastSaveSlot >= 0)
{
// dirty hack... char 127 in last position indicates an auto-filled name
if (ud.savegame[g_lastSaveSlot][MAXSAVEGAMENAME-2] == 127)
{
Bstrncpy(&ud.savegame[g_lastSaveSlot][0], MapInfo[ud.volume_number * MAXLEVELS + ud.level_number].name, 19);
ud.savegame[g_lastSaveSlot][MAXSAVEGAMENAME-2] = 127;
}
 
G_SavePlayerMaybeMulti(g_lastSaveSlot);
}
}
 
if (KB_UnBoundKeyPressed(sc_F7))