mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Swapped some rarely use storages.
This commit is contained in:
parent
c2f8dbc2d7
commit
9fbf710cc9
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2601,7 +2601,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "specs-idvs"
|
||||
version = "0.1.0"
|
||||
source = "git+http://gitlab.nebulanet.cc/xacrimon/specs-idvs.git#282b0b573ba485fe71b5800d6c354adeb19a3c1b"
|
||||
source = "git+http://gitlab.nebulanet.cc/xacrimon/specs-idvs.git#0a61720de65311840804cce31b4344747dff1df0"
|
||||
dependencies = [
|
||||
"hibitset 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"specs 0.14.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -1,4 +1,4 @@
|
||||
use specs::{Component, FlaggedStorage};
|
||||
use specs::{Component, FlaggedStorage, HashMapStorage};
|
||||
use specs_idvs::IDVStorage;
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Serialize, Deserialize)]
|
||||
@ -25,5 +25,5 @@ impl Default for ActionState {
|
||||
}
|
||||
|
||||
impl Component for ActionState {
|
||||
type Storage = FlaggedStorage<Self, IDVStorage<Self>>;
|
||||
type Storage = FlaggedStorage<Self, HashMapStorage<Self>>;
|
||||
}
|
||||
|
@ -43,5 +43,5 @@ impl Inventory {
|
||||
}
|
||||
|
||||
impl Component for Inventory {
|
||||
type Storage = IDVStorage<Self>;
|
||||
type Storage = HashMapStorage<Self>;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user