Merge branch 'next' into lua-slopes

This commit is contained in:
Monster Iestyn 2018-10-21 16:03:48 +01:00
commit bd0c187e68
1 changed files with 1 additions and 1 deletions

View File

@ -912,7 +912,7 @@ static UINT8 UnArchiveValue(int TABLESINDEX)
break;
#endif
case ARCH_MAPHEADER:
LUA_PushUserdata(gL, &sectors[READUINT16(save_p)], META_MAPHEADER);
LUA_PushUserdata(gL, mapheaderinfo[READUINT16(save_p)], META_MAPHEADER);
break;
case ARCH_TEND:
return 1;