DropItem() tossing
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- LilWhiteMouse
- Posts: 2270
- Joined: Tue Jul 15, 2003 7:00 pm
- Location: Maine, US
- Contact:
DropItem() tossing
I seem to recall that at some point DropItem() would toss it's items when the calling actor died. I don't know if it was a bug, or feature, but it's not present any more, my items just appear on the floor now. No idea when this actually changed. I noticed that there's a compatibility option to force this behavior, but it's off. How do I make DropItem() toss items, or do I need to use A_SpawnItemEX() to restore the effect?
Re: DropItem() tossing
This was most certainly a feature before, not a bug. But I just checked and yes, it seems to be broken from 2.3.0 onward. Very odd -- perhaps it's related to the recent gravity fix?
Definitely a bug now, this lack of behavior is.
Definitely a bug now, this lack of behavior is.
Re: DropItem() tossing
I believe that's a compatibility flag, make sure it isn't set.