From a6340f356ec47543f39d80ba6d127cc56407065f Mon Sep 17 00:00:00 2001 From: Misa Date: Wed, 8 Apr 2020 23:48:51 -0700 Subject: [PATCH] Remove unused function entityclass::changecollect() Looks like all access on obj.collect are done manually, so this function is unused. --- desktop_version/src/Entity.cpp | 6 ------ desktop_version/src/Entity.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/desktop_version/src/Entity.cpp b/desktop_version/src/Entity.cpp index f10414cc..58fcd5a9 100644 --- a/desktop_version/src/Entity.cpp +++ b/desktop_version/src/Entity.cpp @@ -94,12 +94,6 @@ void entityclass::confirmflags() } } -void entityclass::changecollect( int t, int s ) -{ - collect[t] = s; -} - - void entityclass::changecustomcollect( int t, int s ) { collect[t] = s; diff --git a/desktop_version/src/Entity.h b/desktop_version/src/Entity.h index 4b6f2c39..8098005c 100644 --- a/desktop_version/src/Entity.h +++ b/desktop_version/src/Entity.h @@ -32,8 +32,6 @@ public: void confirmflags(); - void changecollect(int t, int s); - void changecustomcollect(int t, int s); void fatal_top()