mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
char selection time freeze to prevent it from being dark
This commit is contained in:
parent
b987bda9ce
commit
1dfc85a75b
@ -84,7 +84,7 @@ impl Scene {
|
||||
.set_orientation(Vec3::new(client.state().get_time() as f32 * 0.0, 0.0, 0.0));
|
||||
|
||||
let (view_mat, proj_mat, cam_pos) = self.camera.compute_dependents(client);
|
||||
|
||||
const CHAR_SELECT_TIME_OF_DAY: f32 = 50000.0; // 12*3600 seconds
|
||||
if let Err(err) = renderer.update_consts(
|
||||
&mut self.globals,
|
||||
&[Globals::new(
|
||||
@ -92,8 +92,8 @@ impl Scene {
|
||||
proj_mat,
|
||||
cam_pos,
|
||||
self.camera.get_focus_pos(),
|
||||
100.0,
|
||||
client.state().get_time_of_day(),
|
||||
CHAR_SELECT_TIME_OF_DAY,
|
||||
500.0,
|
||||
client.state().get_time(),
|
||||
renderer.get_resolution(),
|
||||
)],
|
||||
|
Loading…
Reference in New Issue
Block a user