version 1.2 | | version 1.3 |
---|
| | |
* Functions to load & save player games | | * Functions to load & save player games |
* | | * |
* $Log$ | | * $Log$ |
| | * Revision 1.3 2003/02/16 10:44:56 donut |
| | * fix the weird bug where joystick fire button would do all the d1x key functions at once, when joining a udp game. (but going into config menu would fix it.) It was due to kc_set_controls() being called before read_player_d1x, so the d1x settings weren't getting noticed. |
| | * |
* Revision 1.2 1999/06/14 23:44:12 donut | | * Revision 1.2 1999/06/14 23:44:12 donut |
* Orulz' svgalib/ggi/noerror patches. | | * Orulz' svgalib/ggi/noerror patches. |
* | | * |
| | |
else if (fread(&Config_joystick_sensitivity, sizeof(ubyte), 1, file )!=1) | | else if (fread(&Config_joystick_sensitivity, sizeof(ubyte), 1, file )!=1) |
errno_ret=errno; | | errno_ret=errno; |
} | | } |
| | |
if (errno_ret==EZERO) { | | |
kc_set_controls(); | | |
} | | |
} | | } |
| | |
if (fclose(file) && errno_ret==EZERO) | | if (fclose(file) && errno_ret==EZERO) |
| | |
highest_secondary++; | | highest_secondary++; |
} | | } |
| | |
| | if (errno_ret==EZERO) { |
| | kc_set_controls(); |
| | } |
return errno_ret; | | return errno_ret; |
| | |
} | | } |