I made a level in WED editor with two sqaures that are to be used for the ground and sky. Then i made a script but when i loaded it all the wmb level had a space between it in all directions instead of being connected. I just want two squares going in all directions. One for the sky and the ground. Here is my code and please let me know if i am missing something
#include <acknex.h>
#include <default.c>
#include <level.c>
function main()
{
level_loadendless("world.wmb");
terrain_tile(level_ent);
}