almost done with the level reorganization
[vrlugburz] / src / scenefile.c
index 25cdf28..92cdb1f 100644 (file)
@@ -273,19 +273,6 @@ void destroy_scenefile(struct scenefile *scn)
        }
 }
 
-struct mesh *find_mesh_prefix(struct scenefile *scn, const char *prefix)
-{
-       int len = strlen(prefix);
-       struct mesh *m = scn->meshlist;
-       while(m) {
-               if(m->name && memcmp(m->name, prefix, len) == 0) {
-                       return m;
-               }
-               m = m->next;
-       }
-       return 0;
-}
-
 static char *cleanline(char *s)
 {
        char *ptr;