From 0648d6bb0f8265d7b247487929fa4778c5a41581 Mon Sep 17 00:00:00 2001 From: Misa Date: Wed, 8 Apr 2020 23:49:21 -0700 Subject: [PATCH] Remove unused function entityclass::changecustomcollect() Looks like all accesses on obj.customcollect are done manually, so this function is unused. --- 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 58fcd5a9..31e9d9f3 100644 --- a/desktop_version/src/Entity.cpp +++ b/desktop_version/src/Entity.cpp @@ -94,11 +94,6 @@ void entityclass::confirmflags() } } -void entityclass::changecustomcollect( int t, int s ) -{ - collect[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 8098005c..0ba7dc01 100644 --- a/desktop_version/src/Entity.h +++ b/desktop_version/src/Entity.h @@ -32,8 +32,6 @@ public: void confirmflags(); - void changecustomcollect(int t, int s); - void fatal_top() { createblock(DAMAGE, -8, -8, 384, 16);