projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better nametag
[carveJwlIkooP6JGAAIwe30JlM.git]
/
ent_route.c
diff --git
a/ent_route.c
b/ent_route.c
index a11464093b6646c84838a9e5d110596a2d53f92e..1f0bbeddf401c3ed6763dbf0608e4ecc4d35194e 100644
(file)
--- a/
ent_route.c
+++ b/
ent_route.c
@@
-35,9
+35,18
@@
static void ent_route_preupdate( ent_route *route, int active ){
gui_helper_action( button_display_string( k_srbind_mleft ), "weekly" );
gui_helper_action( button_display_string( k_srbind_mright ), "all time" );
gui_helper_action( button_display_string( k_srbind_mleft ), "weekly" );
gui_helper_action( button_display_string( k_srbind_mright ), "all time" );
-
gui_helper_action( button_display_string( k_srbind_mback ), "exit" );
gui_helper_action( button_display_string( k_srbind_mback ), "exit" );
+ if( button_down( k_srbind_mleft ) ){
+ world_sfd.view_weekly = 1;
+ world_sfd_compile_active_scores();
+ }
+
+ if( button_down( k_srbind_mright ) ){
+ world_sfd.view_weekly = 0;
+ world_sfd_compile_active_scores();
+ }
+
if( button_down( k_srbind_mback ) ){
world_entity_unfocus();
return;
if( button_down( k_srbind_mback ) ){
world_entity_unfocus();
return;