mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-11-03 23:33:01 +00:00 
			
		
		
		
	rogueviz::kohonen:: no levellines if lv.qty < 0
This commit is contained in:
		@@ -969,7 +969,7 @@ namespace levelline {
 | 
			
		||||
    if(levellines.size() == 0) create();
 | 
			
		||||
    on = false;
 | 
			
		||||
    for(auto& lv: levellines) {
 | 
			
		||||
      if(!lv.qty) { lv.values.clear(); continue; }
 | 
			
		||||
      if(!lv.qty || lv.qty < 0) { lv.values.clear(); continue; }
 | 
			
		||||
      on = true;
 | 
			
		||||
      if(!lv.modified) continue;
 | 
			
		||||
      lv.modified = false;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user