Explorar o código

Fixed a cc-cv error

Eiyeron Fulmincendii %!s(int64=9) %!d(string=hai) anos
pai
achega
cfb7e0d4db
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/render/Camera.cpp

+ 1 - 1
src/render/Camera.cpp

@@ -69,7 +69,7 @@ signed Camera::get_center_x() const
 
 void Camera::set_center_y(signed y)
 {
-    this->y = y - render_area_width/2;
+    this->y = y - render_area_height/2;
 }
 
 signed Camera::get_center_y() const