X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_routes.h;h=6f34c8c56de1a1e00f1316364ff871feeec4df02;hb=a1741ec4aed057cbafff2d6bc9e5cf8a15ae322b;hp=5a7c07b36df0b154c921a3970fd050eaafb19d63;hpb=23a1be081ab9e378cba49a23b8ed4d4082b580c1;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_routes.h b/world_routes.h index 5a7c07b..6f34c8c 100644 --- a/world_routes.h +++ b/world_routes.h @@ -530,6 +530,17 @@ VG_STATIC void world_routes_verify_run( u32 route ) world.routes[route].latest_pass = world.time; } +VG_STATIC void world_routes_clear(void) +{ + for( u32 i=0; iactive = 0; + } + world.current_run_version += 4; + world.last_use = 0.0; +} + /* * When going through a gate this is called for bookkeeping purposes */