projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bugs
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_routes.h
diff --git
a/world_routes.h
b/world_routes.h
index 8f570d20689cbb0546c8bd8f5694c63bfae7116f..480f70504a9b714861b0c0e8c3ef0bbfb1752f45 100644
(file)
--- a/
world_routes.h
+++ b/
world_routes.h
@@
-430,6
+430,7
@@
static void world_routes_ui_draw( u32 route, v4f colour, float offset )
v4_copy( colour, fade_colour );
fade_colour[3] *= 1.0f-fade_amt;
+ /* 1 minute timer */
float timer_delta = (vg.time - world.routes.last_interaction) * (1.0/60.0),
timer_scale = 1.0f - vg_minf( timer_delta, 1.0f );