From 5fa741c1c9760d9b6a5cfe20bc023193e29a3ea3 Mon Sep 17 00:00:00 2001 From: Rasmus Anthin Date: Sun, 13 Oct 2024 02:17:28 +0200 Subject: [PATCH] Decreasing the number of potions used in the demo (also updating the corresponding example in the README.md) because of the fix in c669dbf0736416b917e25db7a70ed825792ef36e. --- README.md | 2 +- demo/demo.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7abd470..e16715d 100644 --- a/README.md +++ b/README.md @@ -200,7 +200,7 @@ if (!dungeon_engine.place_player(sh.size())) dungeon_engine->place_keys(true); dungeon_engine->place_lamps(20, 15, 5, true); dungeon_engine->place_weapons(150, true); -dungeon_engine->place_potions(150, true); +dungeon_engine->place_potions(100, true); dungeon_engine->place_armour(150, true); dungeon_engine->place_npcs(100, false); dungeon_engine.set_screen_scrolling_mode(ScreenScrollingMode::WhenOutsideScreen); diff --git a/demo/demo.cpp b/demo/demo.cpp index fed9f65..f77ef90 100644 --- a/demo/demo.cpp +++ b/demo/demo.cpp @@ -136,7 +136,7 @@ class Game : public GameEngine<>, public dung::DungGineListener dungeon_engine->place_keys(true); dungeon_engine->place_lamps(30, 15, 5, true); dungeon_engine->place_weapons(150, true); - dungeon_engine->place_potions(150, true); + dungeon_engine->place_potions(100, true); dungeon_engine->place_armour(150, true); dungeon_engine->place_npcs(100, true);