Make the bf command fade smoothly, instead of rounding down and disappearing almost instantly.

This commit is contained in:
Spike 2018-05-13 08:07:15 +01:00 committed by Shpoike
parent d58f3f6cfe
commit bac736f33c

View file

@ -46,7 +46,7 @@ typedef struct
typedef struct typedef struct
{ {
int destcolor[3]; int destcolor[3];
int percent; // 0-256 float percent; // 0-256
} cshift_t; } cshift_t;
#define CSHIFT_CONTENTS 0 #define CSHIFT_CONTENTS 0