mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 15:40:26 +00:00
texture:: all-cells-different-textures are now considered correctly mapped if geometry has not been changed
This commit is contained in:
parent
84af8f2b32
commit
ccb970f6fe
@ -1511,6 +1511,9 @@ void texture_config::remap() {
|
||||
if(tstate == tsActive) {
|
||||
patterns::computeCgroup();
|
||||
correctly_mapped = patterns::compatible(texture::cgroup, patterns::cgroup);
|
||||
if(!correctly_mapped)
|
||||
correctly_mapped =
|
||||
current_texture_parameters == config.orig_texture_parameters;
|
||||
if(correctly_mapped) true_remap();
|
||||
else addMessage(XLAT("Pattern incompatible."));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user