Tiny fixes
This commit is contained in:
		
							parent
							
								
									1790eee1c6
								
							
						
					
					
						commit
						e32607b05c
					
				| 
						 | 
					@ -73,10 +73,9 @@ void Tile::draw(const Point& dest, float scaleFactor, int drawFlags, LightView *
 | 
				
			||||||
                        break;
 | 
					                        break;
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            } else if(m_selected) {
 | 
					 | 
				
			||||||
                g_painter->setColor(Color::darkGreen);
 | 
					 | 
				
			||||||
                g_painter->setOpacity(0.9);
 | 
					 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            if(m_selected)
 | 
				
			||||||
 | 
					                g_painter->setColor(Color::teal);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if((thing->isGround() && drawFlags & Otc::DrawGround) ||
 | 
					            if((thing->isGround() && drawFlags & Otc::DrawGround) ||
 | 
				
			||||||
               (thing->isGroundBorder() && drawFlags & Otc::DrawGroundBorders) ||
 | 
					               (thing->isGroundBorder() && drawFlags & Otc::DrawGroundBorders) ||
 | 
				
			||||||
| 
						 | 
					@ -88,6 +87,8 @@ void Tile::draw(const Point& dest, float scaleFactor, int drawFlags, LightView *
 | 
				
			||||||
                    g_painter->resetColor();
 | 
					                    g_painter->resetColor();
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            if(m_selected)
 | 
				
			||||||
 | 
					                g_painter->resetColor();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            m_drawElevation += thing->getElevation();
 | 
					            m_drawElevation += thing->getElevation();
 | 
				
			||||||
            if(m_drawElevation > Otc::MAX_ELEVATION)
 | 
					            if(m_drawElevation > Otc::MAX_ELEVATION)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue