Added messages for saving/loading RR state.

This commit is contained in:
n-a-c-h
2005-03-20 01:34:39 +00:00
parent cf3ee8e2b2
commit 2741ca2bae

View File

@@ -721,7 +721,11 @@ void statesaver()
if (MovieProcessing == 2) if (MovieProcessing == 2)
{ {
bool mzt_save(char *, bool); bool mzt_save(char *, bool);
mzt_save(fnamest+1, (cbitmode && !NoPictureSave) ? true : false); if (mzt_save(fnamest+1, (cbitmode && !NoPictureSave) ? true : false))
{
Msgptr = "RR STATE SAVED.";
MessageOn = MsgCount;
}
return; return;
} }
@@ -993,11 +997,19 @@ void stateloader (unsigned char *statename, unsigned char keycheck, unsigned cha
bool mzt_load(char *, bool); bool mzt_load(char *, bool);
case 1: case 1:
mzt_load(statename, true); if (mzt_load(statename, true))
{
Msgptr = "RR STATE LOADED.";
MessageOn = MsgCount;
}
return; return;
case 2: case 2:
mzt_load(statename, false); if (mzt_load(statename, false))
{
Msgptr = "CHAPTER LOADED.";
MessageOn = MsgCount;
}
return; return;
} }