Optimized sprite precaching in R_PrecacheLevel. Now only caches the materials of sprites used by states of mobjs actually present on the map. This is more conservative than the previous implementation which would attempt to precache every last sprite. Precaching of sprites is now enabled by default. This still not ideal as sprites for mobjs created dynamically which weren't on the map at load time will not be precached (e.g., missiles). However, typically such sprites will be smaller and thus quicker to prepare when required.
Optimized sprite precaching in R_PrecacheLevel. Now only caches the materials of sprites used by states of mobjs actually present on the map. This is more conservative than the previous implementation which would attempt to precache every last sprite. Precaching of sprites is now enabled by default.
This still not ideal as sprites for mobjs created dynamically which weren't on the map at load time will not be precached (e.g., missiles). However, typically such sprites will be smaller and thus quicker to prepare when required.