MTrop / DoomTools

Doom-related tools for Java. Home of DECOHack and lots of other utilities. Build WAD projects (and soon, other kinds) with ease!
https://mtrop.github.io/DoomTools/
MIT License
46 stars 5 forks source link

Decohack docs mistake with A_ConsumeAmmo #84

Closed HALFKOOL closed 2 years ago

HALFKOOL commented 2 years ago

The Decohack usage docs for A_ConsumeAmmo incorrectly assumes there is a state to jump to. The dehacked patch still compiles correctly, just the usage text is incorrect. https://github.com/MTrop/DoomTools/blob/375c361e4a9c2bf84e894bbe1133b5da9129e02e/src/main/java/net/mtrop/doom/tools/decohack/data/enums/DEHActionPointerMBF21.java#L232

MTrop commented 2 years ago

Gah. The ol' copy-paste strikes again! Thankfully it's still a type that's acceptable.

MTrop commented 2 years ago

Fixed in commit a052202e7626d025444b20722fbd2c3e6c00d0e3