diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-11 08:36:58 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-11 08:36:58 +0200 |
commit | 2c79080e1b16cb794b33e24508c11ab4fc259b48 (patch) | |
tree | 9f602753c501bd1524179753beeb52771f43e924 /src/control/Garages.cpp | |
parent | Merge remote-tracking branch 'upstream/lcs' into lcs (diff) | |
parent | Merge branch 'master' into miami (diff) | |
download | re3-2c79080e1b16cb794b33e24508c11ab4fc259b48.tar re3-2c79080e1b16cb794b33e24508c11ab4fc259b48.tar.gz re3-2c79080e1b16cb794b33e24508c11ab4fc259b48.tar.bz2 re3-2c79080e1b16cb794b33e24508c11ab4fc259b48.tar.lz re3-2c79080e1b16cb794b33e24508c11ab4fc259b48.tar.xz re3-2c79080e1b16cb794b33e24508c11ab4fc259b48.tar.zst re3-2c79080e1b16cb794b33e24508c11ab4fc259b48.zip |
Diffstat (limited to 'src/control/Garages.cpp')
-rw-r--r-- | src/control/Garages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Garages.cpp b/src/control/Garages.cpp index 43bf6cea..c4916878 100644 --- a/src/control/Garages.cpp +++ b/src/control/Garages.cpp @@ -2347,7 +2347,7 @@ void CGarages::GivePlayerDetonator() float CGarages::FindDoorHeightForMI(int32 mi) { - return CModelInfo::GetModelInfo(mi)->GetColModel()->boundingBox.max.z - CModelInfo::GetModelInfo(mi)->GetColModel()->boundingBox.min.z - 0.1f; + return CModelInfo::GetColModel(mi)->boundingBox.max.z - CModelInfo::GetColModel(mi)->boundingBox.min.z - 0.1f; } void CGarage::TidyUpGarage() |