Anyone!? This function crashes the engine, "ent_getmesh(NULL, i, 0);" when i is not a valid mesh index, instead of returning NULL.