TOOLS: compress_sci skips last resource?
|Reported by:||SF/agf863||Owned by:||wjp|
The location is
The do-while loop counting the number of resources in the file
resourceCount is incremented after the end-of-file check
On the last resource, the loop is exited without incrementing resourceCount.
This appears to me to mean the last resource is skipped, and not added to the compressed file.
Unfortunately I can't test this as I only have one game with files this code recognizes (KQ6) and I already deleted the original RESOURCE.AUD and RESOURCE.SFX files after compressing them and confirming they appeared to work.
Ticket imported from: #3302321. Ticket imported from: bugs/5701.