mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-19 03:34:49 +00:00
Merge pull request #335 from jlmjlm/aip_text3
Only use 'texture' in editAt guard when CAP_TEXTURE is set.
This commit is contained in:
commit
342c7c4484
@ -1628,7 +1628,11 @@ EX namespace mapeditor {
|
||||
void allInPattern(cellwalker where) {
|
||||
|
||||
manual_celllister cl;
|
||||
if(!patterns::whichPattern || texture::config.tstate == texture::tsActive) {
|
||||
bool call_editAt = !patterns::whichPattern;
|
||||
#if CAP_TEXTURE
|
||||
call_editAt |= (texture::config.tstate == texture::tsActive);
|
||||
#endif
|
||||
if (call_editAt) {
|
||||
editAt(where, cl);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user