svkaiser / Doom64EX

Doom64EX is a reverse-engineering project aimed to recreate Doom64 as close as possible with additional modding features.
http://doom64ex.wordpress.com/
GNU General Public License v2.0
237 stars 49 forks source link

Fix button texture after unpressing #70

Closed alice-mkh closed 7 years ago

alice-mkh commented 7 years ago

For some reason, wall buttons look wrong after they were pressed and unpressed. Like: a button has 485 texture. You press it, it changes to 486, then after few frames, it should change back to 485, but instead changes to 487, you press it again, it becomes 488 etc. This fixes it. The lines were copied from p_switch.cc, lines 99, 111, 123.

pinkwah commented 7 years ago

Thanks a lot!