Restore Error (SOLVED)

Started by Sir Bob, Sat 10/12/2005 22:36:11

Previous topic - Next topic

Sir Bob

When I was trying to use my new Restore script:

Quote
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x0045B7AC ; program pointer is +2051, ACI version 2.70.864, gtags (6,3)

Code: ags
#sectionstart loadgame_Click  // DO NOT EDIT OR REMOVE THIS LINE
function loadgame_Click(GUIControl *control, MouseButton button) {
  
  int index = loadlist.SelectedIndex;
  RestoreGameSlot(savegameindex[index]);
  gLoadscreen.Visible = false;
  gMenu1.Visible = true;
  gMenu1.Centre();
}
#sectionend loadgame_Click  // DO NOT EDIT OR REMOVE THIS LINE

Pumaman

Have you changed your game since that save game was created? If you try to restore a position that was saved with an older version of the game, it can cause problems.

Sir Bob

That must have been the problem...

SMF spam blocked by CleanTalk