summaryrefslogtreecommitdiff
path: root/src/ui_script.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2010-09-19 18:53:31 +0400
committerAndrey Nazarov <skuller@skuller.net>2010-09-19 20:18:55 +0400
commit0b2ea4da8201958c7cb802aa4691bc6203e45cea (patch)
treed0fe679747cc88d5016c2f48d5656e448f391d2b /src/ui_script.c
parentbf4250f35774628a70169b6b0b6d6644a53504bb (diff)
Use FastColorCopy where possible.
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 ) {