mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-06-08 01:47:50 -05:00
Merge pull request #35 from INSANEMODE/patch-4
fix staff parts not glowing.
This commit is contained in:
commit
1a81c27fa4
@ -336,9 +336,11 @@ craftable_add_glow_fx() //checked partially changed to match cerberus output
|
|||||||
*/
|
*/
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
for ( i = 0; i < s_craftable.a_piecestubs.size; i++ )
|
piecestubs_array = s_craftable.a_piecestubs;
|
||||||
|
piecestubs_key = getFirstArrayKey( piecestubs_array );
|
||||||
|
while ( isDefined( piecestubs_key ) )
|
||||||
{
|
{
|
||||||
if ( s_piece.piecename == "gem" )
|
s_piece = piecestubs_array[ piecestubs_key ]; if ( s_piece.piecename == "gem" )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -354,6 +356,7 @@ craftable_add_glow_fx() //checked partially changed to match cerberus output
|
|||||||
}
|
}
|
||||||
s_piece.piecespawn.model thread craftable_model_attach_glow( n_elem, do_glow_now );
|
s_piece.piecespawn.model thread craftable_model_attach_glow( n_elem, do_glow_now );
|
||||||
}
|
}
|
||||||
|
piecestubs_key = getNextArrayKey( piecestubs_array, piecestubs_key );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -418,9 +418,11 @@ craftable_add_glow_fx() //checked partially changed to match cerberus output
|
|||||||
*/
|
*/
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
for ( i = 0; i < s_craftable.a_piecestubs.size; i++ )
|
piecestubs_array = s_craftable.a_piecestubs;
|
||||||
|
piecestubs_key = getFirstArrayKey( piecestubs_array );
|
||||||
|
while ( isDefined( piecestubs_key ) )
|
||||||
{
|
{
|
||||||
if ( s_piece.piecename == "gem" )
|
s_piece = piecestubs_array[ piecestubs_key ]; if ( s_piece.piecename == "gem" )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -432,10 +434,11 @@ craftable_add_glow_fx() //checked partially changed to match cerberus output
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
do_glow_now = 0;
|
do_glow_now = 1;
|
||||||
}
|
}
|
||||||
s_piece.piecespawn.model thread craftable_model_attach_glow( n_elem, do_glow_now );
|
s_piece.piecespawn.model thread craftable_model_attach_glow( n_elem, do_glow_now );
|
||||||
}
|
}
|
||||||
|
piecestubs_key = getNextArrayKey( piecestubs_array, piecestubs_key );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user