Skip to content

Commit

Permalink
Merge pull request #1611 from mouzedrift/gas-emitter-fix
Browse files Browse the repository at this point in the history
fix gas emitter in AO not turning on
  • Loading branch information
mouzedrift authored Dec 19, 2023
2 parents 839ed35 + 5ac3941 commit 51e194b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/AliveLibAO/GasEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ GasEmitter* GasEmitter::ctor_41D760(Path_GasEmitter* pTlv, s32 tlvInfo)

void GasEmitter::VUpdate_41D7D0()
{
if (gGasOn_4FF888 && !(gnFrameCount_507670 + field_14_emit_power % 4))
if (gGasOn_4FF888 && !((gnFrameCount_507670 + field_14_emit_power) % 4))
{
New_Smoke_Particles_419A80(field_18_xpos, field_1C_ypos, field_20_fp_not_used, 3, 1);

Expand Down

0 comments on commit 51e194b

Please sign in to comment.