This commit is contained in:
Michele Caini
2018-11-27 22:20:52 +01:00
parent 4edd25ff5d
commit 0173060eaf
+1 -1
View File
@@ -1152,7 +1152,7 @@ for(auto entity: view) {
auto &velocity = registry.get<velocity>(entity);
// ... or multiple components at once
auto &[pos, vel] = view.get<position, velocity>(entity);
auto &[pos, vel] = registry.get<position, velocity>(entity);
// ...
}