Numerous minor fixes.

This commit is contained in:
JezuzLizard
2021-02-25 15:17:52 -08:00
parent 91b0a75736
commit eeae412f6d
16 changed files with 34 additions and 68 deletions

View File

@ -804,7 +804,7 @@ assign_lowest_unused_character_index() //checked changed to match cerberus outpu
{
if ( n_characters_defined == ( players.size - 1 ) )
{
if ( isDefined( level.has_richtofen ) && !level.has_richtofen )
if ( !is_true( level.has_richtofen ) )
{
level.has_richtofen = 1;
return 2;

View File

@ -294,7 +294,7 @@ reward_double_tap( player, s_stat ) //checked matches cerberus output
str_model = getweaponmodel( "zombie_perk_bottle_doubletap" );
m_reward setmodel( str_model );
m_reward playsound( "zmb_spawn_powerup" );
m_reward playloopsound( "zmb_spawn_powerup_loop", 0,5 );
m_reward playloopsound( "zmb_spawn_powerup_loop", 0.5 );
wait_network_frame();
if ( !reward_rise_and_grab( m_reward, 50, 2, 2, 10 ) )
{

View File

@ -10,7 +10,7 @@
precache() //checked matches cerberus output
{
if ( isDefined( level.createfx_enabled ) && level.createfx_enabled )
if ( is_true( level.createfx_enabled ) )
{
return;
}

View File

@ -10,5 +10,5 @@
init() //checked matches cerberus output
{
add_map_gamemode( "zclassic", maps/mp/zm_tomb::zstandard_preinit, undefined, undefined );
add_map_location_gamemode( "zclassic", "tomb", maps/mp/zm_tomb_classic::precache, ::maps/mp/zm_tomb_classic::main );
add_map_location_gamemode( "zclassic", "tomb", maps/mp/zm_tomb_classic::precache, maps/mp/zm_tomb_classic::main );
}