From b7f26e65a6aa2a595c48968660b1e5c63171e7b5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nils=20Forss=C3=A9n?= Date: Thu, 9 Nov 2023 15:22:29 +0100 Subject: [PATCH] Fixed scale issue --- src/_main.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/_main.cc b/src/_main.cc index 47a5903..fff44bc 100644 --- a/src/_main.cc +++ b/src/_main.cc @@ -5,11 +5,12 @@ */ #include // includes most things in SFML +#include "Object.h" const unsigned int S_WIDTH {1280}; const unsigned int S_HEIGHT {720}; -const double S_SCALE_KOEFF {s_width / 1920.0}; +const double S_SCALE_KOEFF {S_WIDTH / 1920.0}; int main () { -- 2.30.2