X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2Fscr%2Finfcubes.c;h=3a215130fa4333575a8c785cd1ea571e9eb5cd34;hp=dd1bd33a2b4ec83ea83b5c790c83471dab9949c6;hb=3eeca1cc95bdeaf3f6be3fd6064a065e39c08eda;hpb=c912e59b898fe1ac461a1468e4a2e1937de286d7 diff --git a/src/scr/infcubes.c b/src/scr/infcubes.c index dd1bd33..3a21513 100644 --- a/src/scr/infcubes.c +++ b/src/scr/infcubes.c @@ -67,7 +67,7 @@ static int init(void) if(load_mesh(&mesh_cube, "data/bevelbox.obj") == -1) { return -1; } - if(load_mesh(&mesh_cube2, "data/bevelbox.obj") == -1) { + if(copy_mesh(&mesh_cube2, &mesh_cube) == -1) { return -1; } apply_mesh_xform(&mesh_cube2, scalemat);