diff options
| author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-07-02 17:58:52 +0700 |
|---|---|---|
| committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-07-02 17:58:52 +0700 |
| commit | ede447355a91abc64352039be4d30743fef69376 (patch) | |
| tree | da00097adc7c92b5a6c5794b2d8e9169705a12cb /src/GameInitDispose.cpp | |
| parent | 2b4d5a06f8e6ce6e9b63d3ffb1ab71c2237f25e6 (diff) | |
| download | blackshades-ede447355a91abc64352039be4d30743fef69376.tar.gz | |
Favor auto& over auto
Diffstat (limited to 'src/GameInitDispose.cpp')
| -rw-r--r-- | src/GameInitDispose.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GameInitDispose.cpp b/src/GameInitDispose.cpp index f71cc02..8725f40 100644 --- a/src/GameInitDispose.cpp +++ b/src/GameInitDispose.cpp @@ -1095,7 +1095,7 @@ void Game::InitGame() // Fix block radius for (int i = 0; i < 4; i++) { - auto center = blocks[i].boundingspherecenter; + auto& center = blocks[i].boundingspherecenter; center.x = center.y = center.z = 0; float radiusqr = 0.0; |
