fp: Disable spazzing buildings
This commit is contained in:
parent
1c6037bbaa
commit
d48db90783
@ -1420,13 +1420,12 @@ void FP_Render(FP_Game *game, TELY_Platform *platform, TELY_Renderer *renderer)
|
|||||||
if (sprite.flip & TELY_AssetFlip_Y)
|
if (sprite.flip & TELY_AssetFlip_Y)
|
||||||
dest_rect.size.h *= -1.f; // NOTE: Flip the texture vertically
|
dest_rect.size.h *= -1.f; // NOTE: Flip the texture vertically
|
||||||
|
|
||||||
Dqn_f32 rotate_radians = Dqn_PCG32_NextF32(&game->rng) * DQN_PI * 0.5f;
|
|
||||||
TELY_Render_TextureColourV4(renderer,
|
TELY_Render_TextureColourV4(renderer,
|
||||||
sprite.sheet->tex_handle,
|
sprite.sheet->tex_handle,
|
||||||
src_rect,
|
src_rect,
|
||||||
dest_rect,
|
dest_rect,
|
||||||
Dqn_V2_Zero /*rotate origin*/,
|
Dqn_V2_Zero /*rotate origin*/,
|
||||||
rotate_radians,
|
0.f /*rotate radians*/,
|
||||||
TELY_COLOUR_WHITE_V4);
|
TELY_COLOUR_WHITE_V4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user