version 1.2 | | version 1.3 |
---|
| | |
return f; | | return f; |
} | | } |
| | |
/*static*/ byte read_byte(CFILE *file) | | /*static*/ sbyte read_byte(CFILE *file) |
{ | | { |
byte b; | | sbyte b; |
| | |
if (cfread( &b, sizeof(b), 1, file) != 1) | | if (cfread( &b, sizeof(b), 1, file) != 1) |
Error( "Error reading byte in gamesave.c" ); | | Error( "Error reading byte in gamesave.c" ); |
| | |
#if 0 | | #if 0 |
static ubyte read_ubyte(CFILE *file) | | static ubyte read_ubyte(CFILE *file) |
{ | | { |
byte b; | | ubyte b; |
| | |
if (cfread( &b, sizeof(b), 1, file) != 1) | | if (cfread( &b, sizeof(b), 1, file) != 1) |
Error( "Error reading byte in gamesave.c" ); | | Error( "Error reading byte in gamesave.c" ); |