X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2Ffile.c;h=2aa0ddf5e34e39adff14a286f8874db1dadf28ad;hb=98edd2c02783d6cf8ffe4d7aec340fe80cc8bcff;hp=cd183a2471e3eaed80be66032e60ec331229c5db;hpb=055b582fdcaeddfa6dbb240eb591ec61f37e21d3;p=rocksndiamonds.git diff --git a/src/game_sp/file.c b/src/game_sp/file.c index cd183a24..2aa0ddf5 100644 --- a/src/game_sp/file.c +++ b/src/game_sp/file.c @@ -159,7 +159,7 @@ static void LoadNativeLevelFromFileStream_SP(FILE *file, boolean demo_available) the 16 bit value here calculates as 2 * (x + (y * 60)) (this is twice of what may be expected: Supaplex works with a game field in memory which is 2 bytes per tile) */ - port->PortLocation = getFile16BitBE(file); + port->PortLocation = getFile16BitBE(file); /* yes, big endian */ #if 0 { @@ -190,9 +190,9 @@ static void LoadNativeLevelFromFileStream_SP(FILE *file, boolean demo_available) header->CheckSumByte = getFile8Bit(file); /* random seed used for recorded demos */ - header->DemoRandomSeed = getFile16BitLE(file); + header->DemoRandomSeed = getFile16BitLE(file); /* yes, little endian */ -#if 1 +#if 0 printf("::: file.c: DemoRandomSeed == %d\n", header->DemoRandomSeed); #endif