mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +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(); |     if(levellines.size() == 0) create(); | ||||||
|     on = false; |     on = false; | ||||||
|     for(auto& lv: levellines) { |     for(auto& lv: levellines) { | ||||||
|       if(!lv.qty) { lv.values.clear(); continue; } |       if(!lv.qty || lv.qty < 0) { lv.values.clear(); continue; } | ||||||
|       on = true; |       on = true; | ||||||
|       if(!lv.modified) continue; |       if(!lv.modified) continue; | ||||||
|       lv.modified = false; |       lv.modified = false; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue