mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
sync
This commit is contained in:
parent
6adca217fe
commit
62d998252d
@ -17,7 +17,7 @@ use common::{
|
||||
consts::{MAX_MOUNT_RANGE, MAX_SPRITE_MOUNT_RANGE, SOUND_TRAVEL_DIST_PER_VOLUME},
|
||||
event::EventBus,
|
||||
link::Is,
|
||||
mounting::{Mounting, Rider, VolumeMounting, VolumePos, VolumeRider},
|
||||
mounting::{Mount, Mounting, Rider, VolumeMounting, VolumePos, VolumeRider},
|
||||
outcome::Outcome,
|
||||
rtsim::RtSimVehicle,
|
||||
terrain::{Block, SpriteKind},
|
||||
|
@ -68,10 +68,12 @@ impl<'a> System<'a> for Sys {
|
||||
read_data.light_emitter.maybe(),
|
||||
read_data.groups.maybe(),
|
||||
read_data.rtsim_entities.maybe(),
|
||||
!&read_data.is_mounts,
|
||||
read_data.is_riders.maybe(),
|
||||
read_data.is_volume_riders.maybe(),
|
||||
read_data.pet_states.maybe(),
|
||||
(
|
||||
!&read_data.is_mounts,
|
||||
read_data.is_riders.maybe(),
|
||||
read_data.is_volume_riders.maybe(),
|
||||
read_data.pet_states.maybe(),
|
||||
),
|
||||
)
|
||||
.par_join()
|
||||
.for_each_init(
|
||||
@ -94,10 +96,7 @@ impl<'a> System<'a> for Sys {
|
||||
light_emitter,
|
||||
group,
|
||||
rtsim_entity,
|
||||
_,
|
||||
is_rider,
|
||||
is_volume_rider,
|
||||
pet_state,
|
||||
(_, is_rider, is_volume_rider, pet_state),
|
||||
)| {
|
||||
let mut event_emitter = event_bus.emitter();
|
||||
let mut rng = thread_rng();
|
||||
|
Loading…
Reference in New Issue
Block a user