X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftape.h;h=c20fab418805ac8bdf5251b18f230640b05f39fc;hb=216bac7a443561781916af1b643d14a15007db42;hp=40ddd0949e39dbd36f8ef830c834802b998983e1;hpb=12a8fd3a64d6bee5ca5f5b89e4a00b49d78bbd2c;p=rocksndiamonds.git diff --git a/src/tape.h b/src/tape.h index 40ddd094..c20fab41 100644 --- a/src/tape.h +++ b/src/tape.h @@ -27,6 +27,8 @@ #define TAPE_ACTION_BUTTON 2 #define TAPE_ACTION_UNUSED 3 +#define MAX_TAPE_ACTIONS 4 + // some positions in the video tape control window #define VIDEO_DISPLAY1_XPOS 5 #define VIDEO_DISPLAY1_YPOS 5 @@ -194,7 +196,7 @@ struct TapeInfo struct { - byte action[MAX_PLAYERS]; + byte action[MAX_TAPE_ACTIONS]; byte delay; } pos[MAX_TAPE_LEN];