mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-07 10:52:23 +00:00
texture:: all-cells-different-textures are now considered correctly mapped if geometry has not been changed
This commit is contained in:
@@ -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."));
|
||||
}
|
||||
|
Reference in New Issue
Block a user