Attached Files:
|
0001-fixed-FTILE-displayed-incorrectly-after-reload.patch [^] (1,143 bytes) 2013-11-16 19:07 [Show Content] [Hide Content]From 7b2d6a059317e5b34db0002851311b0d9fb9f840 Mon Sep 17 00:00:00 2001
From: MDvedh <mdvedh@yandex.ru>
Date: Sat, 16 Nov 2013 21:44:19 +0400
Subject: [PATCH] fixed "FTILE: " displayed incorrectly after reload
---
crawl-ref/source/tileview.cc | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/crawl-ref/source/tileview.cc b/crawl-ref/source/tileview.cc
index 11df156..92bbf70 100644
--- a/crawl-ref/source/tileview.cc
+++ b/crawl-ref/source/tileview.cc
@@ -428,6 +428,10 @@ void tile_init_flavour(const coord_def &gc)
floor_base = tile_dngn_coloured(floor_base, colour);
env.tile_flv(gc).floor = _pick_random_dngn_tile(floor_base);
}
+ else
+ {
+ env.tile_flv(gc).floor = _pick_random_dngn_tile(env.tile_flv(gc).floor);
+ }
if (!env.tile_flv(gc).wall)
{
@@ -450,6 +454,10 @@ void tile_init_flavour(const coord_def &gc)
env.tile_flv(gc).wall = _pick_random_dngn_tile(wall_base);
}
}
+ else
+ {
+ env.tile_flv(gc).wall = _pick_random_dngn_tile(env.tile_flv(gc).wall);
+ }
if (feat_is_stone_stair(grd(gc)) && player_in_branch(BRANCH_SHOALS))
{
--
1.8.4
0001-fixed-FTILE-displayed-incorrectly-after-reload-2.patch [^] (1,173 bytes) 2013-11-16 19:27 [Show Content] [Hide Content]From f1ec82fcad283daca2958368ae2aba876939c6e1 Mon Sep 17 00:00:00 2001
From: MDvedh <mdvedh@yandex.ru>
Date: Sat, 16 Nov 2013 21:44:19 +0400
Subject: [PATCH] fixed "FTILE: " displayed incorrectly after reload
---
crawl-ref/source/tileview.cc | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/crawl-ref/source/tileview.cc b/crawl-ref/source/tileview.cc
index 11df156..cc83e44 100644
--- a/crawl-ref/source/tileview.cc
+++ b/crawl-ref/source/tileview.cc
@@ -428,6 +428,10 @@ void tile_init_flavour(const coord_def &gc)
floor_base = tile_dngn_coloured(floor_base, colour);
env.tile_flv(gc).floor = _pick_random_dngn_tile(floor_base);
}
+ else
+ {
+ env.tile_flv(gc).floor = _pick_random_dngn_tile(env.tile_flv(gc).floor);
+ }
if (!env.tile_flv(gc).wall)
{
@@ -450,6 +454,10 @@ void tile_init_flavour(const coord_def &gc)
env.tile_flv(gc).wall = _pick_random_dngn_tile(wall_base);
}
}
+ else
+ {
+ env.tile_flv(gc).wall = _pick_random_dngn_tile(env.tile_flv(gc).wall);
+ }
if (feat_is_stone_stair(grd(gc)) && player_in_branch(BRANCH_SHOALS))
{
--
1.8.4
|