summaryrefslogtreecommitdiff
path: root/src/ui_script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui_script.c')
-rw-r--r--src/ui_script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui_script.c b/src/ui_script.c
index 70035b3..6b9a975 100644
--- a/src/ui_script.c
+++ b/src/ui_script.c
@@ -375,7 +375,7 @@ static qboolean Parse_File( const char *path, int depth ) {
menu->pop = Menu_Pop;
menu->free = Menu_Free;
menu->image = uis.backgroundHandle;
- *( uint32_t * )menu->color = *( uint32_t * )uis.color.background;
+ FastColorCopy( uis.color.background, menu->color );
} else if( !strcmp( cmd, "include" ) ) {
char *s = Cmd_Argv( 1 );
if( !*s ) {