aboutsummaryrefslogtreecommitdiff
path: root/gob
diff options
context:
space:
mode:
Diffstat (limited to 'gob')
-rw-r--r--gob/palanim.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/gob/palanim.cpp b/gob/palanim.cpp
index 3dc912f5f7..2d793b7fb9 100644
--- a/gob/palanim.cpp
+++ b/gob/palanim.cpp
@@ -29,9 +29,9 @@ namespace Gob {
int16 pal_fadeValue = 1;
-char pal_toFadeRed[256];
-char pal_toFadeGreen[256];
-char pal_toFadeBlue[256];
+byte pal_toFadeRed[256];
+byte pal_toFadeGreen[256];
+byte pal_toFadeBlue[256];
char pal_fadeColor(char from, char to) {
if ((int16)from - pal_fadeValue > (int16)to)
@@ -43,9 +43,9 @@ char pal_fadeColor(char from, char to) {
}
char pal_fadeStep(int16 oper) {
- char newRed;
- char newGreen;
- char newBlue;
+ byte newRed;
+ byte newGreen;
+ byte newBlue;
char stop;
int16 i;