fp: Fix camera OOB on startup
This commit is contained in:
parent
0044b05130
commit
395e8dc58a
@ -480,7 +480,7 @@ static void FP_PlayReset(FP_Game *game, TELY_Platform *platform)
|
||||
FP_Entity_CreateBillboard(game, Dqn_V2_InitNx2(1898, 771), FP_EntityBillboardState_Strafe, "Strafe Billboard");
|
||||
|
||||
// NOTE: Camera ================================================================================
|
||||
play->camera.world_pos = base_mid_p - Dqn_V2_InitV2I(platform->core.window_size * .5f);
|
||||
play->camera.world_pos = {};
|
||||
play->camera.scale = Dqn_V2_InitNx1(1);
|
||||
play->camera.size = Dqn_V2_InitNx2(1826, 1046);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user