- Fixed: Implicitly defined clusters were not initialized when being created.

SVN r1503 (trunk)
This commit is contained in:
Christoph Oelckers 2009-03-25 22:02:15 +00:00
parent 218fc5018e
commit f7bcd0b98e
2 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,7 @@
March 24, 2009 (Changes by Graf Zahl) March 25, 2009 (Changes by Graf Zahl)
- Fixed: Implicitly defined clusters were not initialized when being created.
March 24, 2009 (Changes by Graf Zahl)
- Fixed: Item tossing did not work anymore. - Fixed: Item tossing did not work anymore.
March 23, 2009 (Changes by Graf Zahl) March 23, 2009 (Changes by Graf Zahl)

View file

@ -948,6 +948,7 @@ DEFINE_MAP_OPTION(cluster, true)
{ {
unsigned int clusterindex = wadclusterinfos.Reserve(1); unsigned int clusterindex = wadclusterinfos.Reserve(1);
cluster_info_t *clusterinfo = &wadclusterinfos[clusterindex]; cluster_info_t *clusterinfo = &wadclusterinfos[clusterindex];
clusterinfo->Reset();
clusterinfo->cluster = parse.sc.Number; clusterinfo->cluster = parse.sc.Number;
if (parse.HexenHack) if (parse.HexenHack)
{ {