Add missing return so Visual Studio compiles

This commit is contained in:
eska 2015-09-22 05:59:10 +02:00
parent ce6fefced8
commit ab3b0c82c8

View file

@ -57,7 +57,7 @@ void RectangleShape2D::draw(const RID& p_to_rid,const Color& p_color) {
Rect2 RectangleShape2D::get_rect() const {
Rect2(-extents,extents*2.0);
return Rect2(-extents,extents*2.0);
}