(svn r7065) Use simple assignment instead of memcpy()

This commit is contained in:
tron
2006-11-05 08:24:52 +00:00
parent 60ea083b28
commit 2a53bcf2b0
5 changed files with 7 additions and 7 deletions

View File

@@ -554,7 +554,7 @@ void ShowGameDifficulty(void)
DeleteWindowById(WC_GAME_OPTIONS, 0);
/* Copy current settings (ingame or in intro) to temporary holding place
* change that when setting stuff, copy back on clicking 'OK' */
memcpy(&_opt_mod_temp, _opt_ptr, sizeof(GameOptions));
_opt_mod_temp = *_opt_ptr;
AllocateWindowDesc(&_game_difficulty_desc);
}