X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ffiles.c;h=981411f0a9a171d1cd266232412766f2c1a4e299;hb=216bac7a443561781916af1b643d14a15007db42;hp=54835e281f2136a93ba98abcf09ad7b074e122c8;hpb=411dffb336bdcdd487225bc78d82bb3bafa3016e;p=rocksndiamonds.git diff --git a/src/files.c b/src/files.c index 54835e28..981411f0 100644 --- a/src/files.c +++ b/src/files.c @@ -3986,7 +3986,7 @@ static void CopyNativeTape_SP_to_RND(struct LevelInfo *level) int demo_repeat = (demo->data[i] & 0xf0) >> 4; int tape_action = map_key_SP_to_RND(demo_action); int tape_repeat = demo_repeat + 1; - byte action[MAX_PLAYERS] = { tape_action, 0, 0, 0 }; + byte action[MAX_TAPE_ACTIONS] = { tape_action }; boolean success = 0; int j;