When using A_SetTics in powered weapons that inherit from Heretic original ones, will cause a VM abort when "empowered" during the attack state.
Reproduction Steps:
1. Launch newest GZDOOM (4.10.0) with the provided "mod"
2. Start a new game
3. Once in game, attack with the basic weapon (it is a ripped out goldwand)
4. During the attack state, use the tome of power
5. Observe that the game terminates with a VM abort
Repro Rate 8/10
Notes:
- Reducing the amount of A_SetTics states will reduce the chance that the game will abort
- Completely changing inheritance resolves the issue: For the current example, if the base weapon inherits from the powered weapon, and the new powered weapon inherits from the new base weapon, the game will no longer cause a VM abort
- Original topic (in Scripting Help) when the problem was discovered (viewtopic.php?t=76854)
VM abort when using Weapon Power up
Moderator: GZDoom Developers
Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.
If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.
Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.
If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.
Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
-
- Posts: 249
- Joined: Thu Aug 10, 2017 9:38 am
VM abort when using Weapon Power up
You do not have the required permissions to view the files attached to this post.