summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-11-13 09:35:30 -0500
committerFreya Murphy <freya@freyacat.org>2025-11-13 09:47:37 -0500
commit018d7d4c06a354071f72c77dc03abbbe622fdc81 (patch)
tree31c3e42c171cd2ab170260e2efb6f9a320bbc757 /graphics
parentdungeon: switch to only using small rng from rand (diff)
downloadDungeonCrawl-018d7d4c06a354071f72c77dc03abbbe622fdc81.tar.gz
DungeonCrawl-018d7d4c06a354071f72c77dc03abbbe622fdc81.tar.bz2
DungeonCrawl-018d7d4c06a354071f72c77dc03abbbe622fdc81.zip
dungeon: have Dungeon store the rng, not the Floor
Diffstat (limited to 'graphics')
-rw-r--r--graphics/src/render.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/render.rs b/graphics/src/render.rs
index 501f140..d450f16 100644
--- a/graphics/src/render.rs
+++ b/graphics/src/render.rs
@@ -663,7 +663,7 @@ impl Renderer {
draw_text!(self, r, UI_COL1, UI_ROW3, "DIR {dir}");
// Draw Player Seed
- let seed = &dungeon.floor.seed();
+ let seed = &dungeon.seed();
draw_text!(self, r, UI_COL2, UI_ROW1, "{seed:016X}");
// Draw Dungeon Hash