- Fixed: The secret map check didn't work for maps inside Zips.

SVN r195 (trunk)
This commit is contained in:
Christoph Oelckers 2006-06-17 07:46:02 +00:00
parent 461f8a796a
commit 9338c7360b
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,6 @@
June 17, 2006 (Changes by Graf Zahl)
- Fixed: The secret map check didn't work for maps inside Zips.
June 14, 2006
- Fixed loading of Build/Blood maps.
- FWadLump::Read() now handles Blood decryption directly.

View file

@ -1650,8 +1650,10 @@ void G_DoCompleted (void)
wminfo.next[0] = 0;
if (secretexit)
{
if (Wads.CheckNumForName (level.secretmap) != -1)
MapData * map = P_OpenMapData(level.secretmap);
if (map != NULL)
{
delete map;
strncpy (wminfo.next, level.secretmap, 8);
strncpy (wminfo.lname1, FindLevelInfo (level.secretmap)->pname, 8);
}

View file

@ -229,7 +229,7 @@ ACTOR PuzzMWeapon : PuzzleItem 9017
// Clock Gear 1 -------------------------------------------------------------
ACTOR PuzzGear : PuzzleItem 9018
ACTOR PuzzGear1 : PuzzleItem 9018
{
Game Hexen
PuzzleItem.Number 13