From 72dd15376ed4e92ae8a4a760a8fbeb7392585cf6 Mon Sep 17 00:00:00 2001 From: Pavel Solodovnikov Date: Wed, 24 Jan 2024 21:48:06 +0300 Subject: [PATCH] effects.h: Remove unused `prev` and `next` pointers from `EFFECT` struct Signed-off-by: Pavel Solodovnikov --- src/effects.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/effects.h b/src/effects.h index 718aad90a54..e8668f67aab 100644 --- a/src/effects.h +++ b/src/effects.h @@ -143,11 +143,10 @@ struct EFFECT uint16_t lifeSpan; // what is it's life expectancy? uint16_t radius; // Used for area effects iIMDShape *imd; // pointer to the imd the effect uses. - EFFECT *prev, *next; // Previous and next element in linked list EFFECT() : player(MAX_PLAYERS), control(0), group(EFFECT_FREED), type(EXPLOSION_TYPE_SMALL), frameNumber(0), size(0), baseScale(0), specific(0), position(0.f, 0.f, 0.f), velocity(0.f, 0.f, 0.f), rotation(0, 0, 0), spin(0, 0, 0), birthTime(0), lastFrame(0), frameDelay(0), lifeSpan(0), radius(0), - imd(nullptr), prev(nullptr), next(nullptr) {} + imd(nullptr) {} }; /* Maximum number of effects in the world - need to investigate what this should be */