File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ void DemoWriteHeader() {
401401 ASSERT (Demo_flags == DF_RECORDING);
402402
403403 // Start off with the signature
404- cf_WriteString (Demo_cfp, ( const char *) szsig);
404+ cf_WriteString (Demo_cfp, szsig);
405405 // Next is the version
406406 cf_WriteShort (Demo_cfp, GAMESAVE_VERSION);
407407 // Write the mission filename
@@ -774,7 +774,7 @@ int DemoReadHeader() {
774774 // Now load the mission
775775 Osiris_DisableCreateEvents ();
776776 IsRestoredGame = true ;
777- if (LoadMission (( const char *) demo_mission)) {
777+ if (LoadMission (demo_mission)) {
778778 mng_LoadAddonPages ();
779779
780780 SetCurrentLevel (level_num);
Original file line number Diff line number Diff line change @@ -969,7 +969,7 @@ void SetScreenMode(int sm, bool force_res_change) {
969969 } else {
970970 int t = FindArg (" -ForceStateLimited" );
971971 if (t) {
972- StateLimited = (atoi (( const char *) GameArgs[t + 1 ]) != 0 );
972+ StateLimited = (atoi (GameArgs[t + 1 ]) != 0 );
973973 }
974974
975975 if (rend_initted == -1 ) {
You can’t perform that action at this time.
0 commit comments