diff --git a/Client/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp b/Client/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp index fd0a2dcd76e..d633c127e0b 100644 --- a/Client/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp +++ b/Client/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp @@ -563,6 +563,12 @@ bool CStaticFunctionDefinitions::GetElementBoundingBox(CClientEntity& Entity, CV pModelInfo = g_pGame->GetModelInfo(Object.GetModel()); break; } + case CCLIENTBUILDING: + { + CClientBuilding& building = static_cast(Entity); + pModelInfo = g_pGame->GetModelInfo(building.GetModel()); + } + } if (pModelInfo)