X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world.h;h=e158e184e4b9f89193d0552842c75fde21e2082a;hb=deac3e6a1b3a8d28302bbc18c183c7fe64cbfb3e;hp=240e8dc1a44c77ec2b9be778e25e9d96ec688ccf;hpb=a1adba47558099cab82aa6d10abdc1dca11d3342;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world.h b/world.h index 240e8dc..e158e18 100644 --- a/world.h +++ b/world.h @@ -400,10 +400,10 @@ VG_STATIC int world_change_world( int argc, const char *argv[] ) VG_STATIC void world_init(void) { - vg_convar_push( (struct vg_convar){ + vg_var_push( (struct vg_var){ .name = "water_enable", .data = &world.water.enabled, - .data_type = k_convar_dtype_i32, + .data_type = k_var_dtype_i32, .opt_i32 = { .min=0, .max=1, .clamp=1 }, .persistent = 0 });