[Ohrrpgce] SVN: teeemcee/10909 Fix sprite_empty_cache ignoring its arguments and always emptying whole

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Fri Jan 11 14:59:56 PST 2019


teeemcee
2019-01-11 14:59:56 -0800 (Fri, 11 Jan 2019)
472
Fix sprite_empty_cache ignoring its arguments and always emptying whole cache!

This has been broken (in fact, not implemented) ever since it was written in r3213.

(Also, it wouldn't have worked even if it had been implemented, because
SpriteCacheEntry.hash was unsigned, causing a broken signed-unsigned comparison)

The only places that actually called sprite_empty_cache with arguments
were when deleting a frame or importing a sprite from the (new) spriteset
browser.
---
U   wip/allmodex.bas
U   wip/const.bi


More information about the Ohrrpgce mailing list