mirror of
https://github.com/JezuzLizard/t6-fastfile-mods.git
synced 2025-06-12 04:08:00 -05:00
Fix compile errors. Fix crash related to timing of scriptmodelsuseanimtree() calls.
This commit is contained in:
@ -12,6 +12,10 @@ precache()
|
||||
|
||||
init_animtree()
|
||||
{
|
||||
if ( getDvar( "mapname" ) != "zm_buried" )
|
||||
{
|
||||
wait 0.1;
|
||||
}
|
||||
scriptmodelsuseanimtree( #animtree );
|
||||
}
|
||||
|
||||
@ -38,6 +42,7 @@ main()
|
||||
{
|
||||
precache_fx();
|
||||
register_client_fields();
|
||||
level thread init_animtree();
|
||||
}
|
||||
|
||||
register_client_fields()
|
||||
|
@ -15,6 +15,7 @@ precache()
|
||||
|
||||
init_animtree()
|
||||
{
|
||||
wait 0.05;
|
||||
scriptmodelsuseanimtree( #animtree );
|
||||
}
|
||||
|
||||
@ -80,7 +81,7 @@ main()
|
||||
registermechzfootstepcb( "zm_tomb_mech_zombie", ::mechzfootstepcbfunc );
|
||||
level._effect["mech_footstep_steam"] = loadfx( "maps/zombie_tomb/fx_tomb_mech_foot_step_steam" );
|
||||
level._effect["mech_exhaust_smoke"] = loadfx( "maps/zombie_tomb/fx_tomb_mech_exhaust_smoke" );
|
||||
init_animtree();
|
||||
level thread init_animtree();
|
||||
scripts\zm\zm_ai_pack_mod_main::add_visionset_callback( ::register_burn_overlay );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user