yellowstonegames / SquidLib

Useful tools for roguelike, role-playing, strategy, and other grid-based games in Java. Feedback is welcome!
Other
448 stars 46 forks source link

SparseLayers.recallToGrid setting incorrect X position #213

Closed rygaar72 closed 1 year ago

rygaar72 commented 1 year ago

https://github.com/yellowstonegames/SquidLib/blob/266920dafcf6dfa3ad40b66f0fa58fd75e9d385a/squidlib/src/main/java/squidpony/squidgrid/gui/gdx/SparseLayers.java#L1986

Refer to code - simple typo, using glyph.getY() where glyph.getX() should be used in the recallToGrid methods.

tommyettinger commented 1 year ago

Nice catch! I'll get on this now, sorry for the delay.