miki151 / keeperrl

Source code of KeeperRL
GNU General Public License v2.0
890 stars 112 forks source link

Fixed wrong y position of particles in ascii mode #2055

Closed Rob2309 closed 6 months ago

Rob2309 commented 8 months ago

When playing in ascii mode, particles (e.g. mining particles) are located in the wrong y-position because the FX code only considers the scaling factor on the x-axis. Since ascii mode has non-square tiles, this logic breaks. This PR fixes this problem