[Fixed] BlockThingsIterator gives between sector portal actors twice

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

BlockThingsIterator gives between sector portal actors twice

Postby Gutawer » Fri Jun 01, 2018 12:17 pm

I've noticed that a ZScript BlockThingsIterator gives actors that are in between a sector portal boundary twice, meaning that any code using a BlockThingsIterator would run code on these actors twice, when they were only meant to run once. I've attached a pk3 exemplifying this (you'll have to move around a bit to become properly between portal boundaries, then the Player and Cacodemon will appear twice in the printed BlockThingsIterator output - if you crouch, each actor will only be printed once, which is what is supposed to happen).
You do not have the required permissions to view the files attached to this post.
User avatar
Gutawer
User Accounts Assistant
 
Joined: 16 Apr 2016
Discord: Gutawer#3431

Re: BlockThingsIterator gives between sector portal actors t

Postby IvanDobrovski » Wed Aug 04, 2021 7:58 pm

I've recently encountered issue in the form of a very large monster occupying parts in both sector portals and being hit with a substantially large radius explosion damage, taking the damage twice. Hopefully this gets looked at.
User avatar
IvanDobrovski
 
Joined: 08 Aug 2016

Re: BlockThingsIterator gives between sector portal actors t

Postby Graf Zahl » Tue Aug 10, 2021 10:00 am

fixed
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest