From 7347975cc567853c0e622ec204639667cb7882e5 Mon Sep 17 00:00:00 2001 From: Misa Date: Sun, 11 Dec 2022 12:37:01 -0800 Subject: [PATCH] Unexport `yline` It's a method of entityclass, even though it doesn't use anything on the class and it's not used outside of Entity.cpp. --- desktop_version/src/Entity.cpp | 2 +- desktop_version/src/Entity.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/desktop_version/src/Entity.cpp b/desktop_version/src/Entity.cpp index 78ebfc13..ee8c2397 100644 --- a/desktop_version/src/Entity.cpp +++ b/desktop_version/src/Entity.cpp @@ -4211,7 +4211,7 @@ float entityclass::hplatformat(const int px, const int py) return -1000; } -int entityclass::yline( int a, int b ) +static int yline( int a, int b ) { if (a < b) return -1; return 1; diff --git a/desktop_version/src/Entity.h b/desktop_version/src/Entity.h index 695d0f27..986f7ebc 100644 --- a/desktop_version/src/Entity.h +++ b/desktop_version/src/Entity.h @@ -132,8 +132,6 @@ public: float hplatformat(int px, int py); - int yline(int a, int b); - bool entityhlinecollide(int t, int l); bool entityvlinecollide(int t, int l);