(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

@@ -163,7 +163,7 @@ static void StartGeneratingLandscape(glwp_modes mode)
/* Copy all XXX_newgame to XXX */
UpdatePatches();
_opt_ptr = &_opt;
memcpy(_opt_ptr, &_opt_newgame, sizeof(GameOptions));
*_opt_ptr = _opt_newgame;
/* Load the right landscape stuff */
GfxLoadSprites();