- fixed: The tag check in Sector_CopyScroller was inverted (it should reject sectors with the given tag, but it rejected everything else.)

This commit is contained in:
Christoph Oelckers 2015-05-25 19:57:36 +02:00
parent 4d496f8b04
commit 9f208409f2

View file

@ -1741,7 +1741,7 @@ static void P_SpawnScrollers(void)
if (lines[i].special == Sector_CopyScroller) if (lines[i].special == Sector_CopyScroller)
{ {
// don't allow copying the scroller if the sector has the same tag as it would just duplicate it. // don't allow copying the scroller if the sector has the same tag as it would just duplicate it.
if (tagManager.SectorHasTag(lines[i].frontsector, lines[i].args[0])) if (!tagManager.SectorHasTag(lines[i].frontsector, lines[i].args[0]))
{ {
copyscrollers.Push(i); copyscrollers.Push(i);
} }