Skip to content

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
ab9rf committed Jan 19, 2025
1 parent ff93b11 commit c8d8d7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions SpriteColors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ ALLEGRO_COLOR operator*=(ALLEGRO_COLOR& color1, const float m)
.b = color1.b * m,
.a = color1.a * m,
};
return color1;
}

/*
Expand Down
2 changes: 1 addition & 1 deletion Tile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ void Tile::AssembleTile( void )
case df::flow_type::Fire:
tint *= tileeffect.density / 100.0f;
size = 3 - ((tileeffect.density-1)/25);
AssembleSpriteFromSheet((((stonesenseState.currentFrameLong+rando)%8)*20+size), sprite_fire, tint, drawx, drawy, this, 2.0f);
AssembleSpriteFromSheet((((stonesenseState.currentFrameLong+rando)%8)*20+size), sprite_dragonfire, tint, drawx, drawy, this, 2.0f);
//ALLEGRO_COLOR tint = lookupMaterialColor(Eff_Fire.matt.type, Eff_Fire.matt.index);
//draw_particle_cloud(Eff_Fire.density, drawx, drawy - (SPRITEHEIGHT/2), SPRITEWIDTH, SPRITEHEIGHT, sprite_fire, tint);
break;
Expand Down

0 comments on commit c8d8d7e

Please sign in to comment.