simtr / PowderToypp

This repository has been moved to https://github.com/FacialTurd/The-Powder-Toy
https://github.com/FacialTurd/The-Powder-Toy
GNU General Public License v3.0
20 stars 12 forks source link

Invalid stamp files cause crash on start. #131

Closed pilihp64 closed 12 years ago

pilihp64 commented 12 years ago

An invalid stamp causes crash on start. (if its in stamps.def anyway)

This stamp was apparently created with tptpp, why was an invalid stamp created anyway?

simtr commented 12 years ago

Stamps aren't read at startup, only the stamps.def file is read. A corrupt stamps.def file shouldn't cause a crash

pilihp64 commented 12 years ago

It makes the game crash for sure though, I created a stamp, edited in a random letter (at the start), game doesn't start.

simtr commented 12 years ago

Fixes in https://github.com/FacialTurd/PowderToypp/commit/b1df1e164c7356e419957c88b4690f3d10c5ec7a