From c24e2abfadb8d56bd1ce8f30aaa759023df2b567 Mon Sep 17 00:00:00 2001 From: Misa Date: Wed, 8 Apr 2020 23:48:08 -0700 Subject: [PATCH] Remove now-unused function entityclass::changeflag() It's now unused after I changed it so that every obj.flags access is done directly, instead of going through this function. --- desktop_version/src/Entity.cpp | 5 ----- desktop_version/src/Entity.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/desktop_version/src/Entity.cpp b/desktop_version/src/Entity.cpp index 0ef1d468..f10414cc 100644 --- a/desktop_version/src/Entity.cpp +++ b/desktop_version/src/Entity.cpp @@ -105,11 +105,6 @@ void entityclass::changecustomcollect( int t, int s ) collect[t] = s; } -void entityclass::changeflag( int t, bool s ) -{ - flags[t] = s; -} - int entityclass::swncolour( int t ) { //given colour t, return colour in setcol diff --git a/desktop_version/src/Entity.h b/desktop_version/src/Entity.h index a4a52e01..4b6f2c39 100644 --- a/desktop_version/src/Entity.h +++ b/desktop_version/src/Entity.h @@ -36,8 +36,6 @@ public: void changecustomcollect(int t, int s); - void changeflag(int t, bool s); - void fatal_top() { createblock(DAMAGE, -8, -8, 384, 16);