Fix game saving on page 2(+).

Fixes issue #16.
This commit is contained in:
svdijk 2012-12-23 10:48:28 +01:00 committed by Yamagi Burmeister
parent 364f0b044b
commit 74f244801f

View file

@ -2543,7 +2543,7 @@ SaveGameCallback(void *self)
{ {
menuaction_s *a = (menuaction_s *)self; menuaction_s *a = (menuaction_s *)self;
Cbuf_AddText(va("save save%i\n", a->generic.localdata[0])); Cbuf_AddText(va("save save%i\n", m_loadsave_page * MAX_SAVESLOTS + a->generic.localdata[0]));
M_ForceMenuOff(); M_ForceMenuOff();
} }