1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-26 15:13:19 +00:00

texture:: when true_remapping, just clear the texture_map

This commit is contained in:
Zeno Rogue 2020-05-30 20:08:22 +02:00
parent 6cc988ca08
commit 6de3bface4

View File

@ -1614,7 +1614,7 @@ void texture_config::true_remap() {
models::configure(); models::configure();
drawthemap(); drawthemap();
if(GDIM == 3) return; if(GDIM == 3) return;
clear_texture_map(); texture_map.clear();
missing_cells_known.clear(); missing_cells_known.clear();
for(cell *c: dcal) { for(cell *c: dcal) {
auto si = patterns::getpatterninfo0(c); auto si = patterns::getpatterninfo0(c);