Description:
I was playing on a 10v10 server with an option to buy infected. The map was c6m1_riverbank and I tried to purchase a witch causing the server to crash. I found that what caused the crash was z_spawn witch, because the model was not precached.
What this plugin does is checks if the witch model and witch bride model are precached. If they aren't, it precaches to prevent crashing if a player or plugin uses "z_spawn witch" or "z_spawn witch_bride".
CVARs:
l4d2_witchprecache_enable 1/0 - Toggle precaching of witch models to prevent crashes caused by z_spawn witch/witch_bride (default: 1)
Changelog:
1.0
- Initial release
Last edited by psychonic; 05-11-2010 at 11:35.
Reason: added public cvar to post header