From 46bf26a7c3102f424b0da3efc7186fae85377d22 Mon Sep 17 00:00:00 2001 From: doyle Date: Tue, 17 Oct 2023 23:27:29 +1100 Subject: [PATCH] fp: Move away from fixed RNG seed for play testing --- External/tely | 2 +- feely_pona.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/External/tely b/External/tely index 1ef3bbc..96fbfd6 160000 --- a/External/tely +++ b/External/tely @@ -1 +1 @@ -Subproject commit 1ef3bbc722cdc134cc1c74c000d9ee95a19eaf38 +Subproject commit 96fbfd683769e652a99e9fad5f30553c6b918bf5 diff --git a/feely_pona.cpp b/feely_pona.cpp index 7b4a1df..187f629 100644 --- a/feely_pona.cpp +++ b/feely_pona.cpp @@ -309,7 +309,7 @@ static void FP_PlayReset(FP_Game *game, TELY_Platform *platform) play->root_entity = Dqn_VArray_Make(&play->entities, Dqn_ZeroMem_No); Dqn_FArray_Add(&play->parent_entity_stack, play->root_entity->handle); - Dqn_PCG32_Seed(&play->rng, 0xABCDEF); + Dqn_PCG32_Seed(&play->rng, platform->core.epoch_time); // NOTE: Map =================================================================================== {