From 88b78bb5e84b4777adbaaa3d8277fcd52a6a4cdd Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 5 Nov 2006 08:24:52 +0000 Subject: (svn r7065) Use simple assignment instead of memcpy() --- genworld_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'genworld_gui.c') diff --git a/genworld_gui.c b/genworld_gui.c index ee18fb227..807664860 100644 --- a/genworld_gui.c +++ b/genworld_gui.c @@ -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(); -- cgit v1.2.3-54-g00ecf