File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Client/mods/deathmatch/logic
Shared/data/MTA San Andreas/MTA/locale/en_US Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -84,9 +84,6 @@ bool CClientModel::Deallocate()
84
84
if (!m_bAllocatedByUs)
85
85
return false ;
86
86
87
- if (m_pParentResource)
88
- m_pParentResource->GetResourceModelStreamer ()->FullyReleaseModel (m_iModelID);
89
-
90
87
SetParentResource (nullptr );
91
88
92
89
CModelInfo* pModelInfo = g_pGame->GetModelInfo (m_iModelID, true );
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ bool CClientModelManager::Remove(const std::shared_ptr<CClientModel>& pModel)
49
49
int modelId = pModel->GetModelID ();
50
50
if (m_Models[modelId] != nullptr )
51
51
{
52
+ CResource* parentResource = m_Models[modelId]->GetParentResource ();
53
+ if (parentResource)
54
+ parentResource->GetResourceModelStreamer ()->FullyReleaseModel (modelId);
52
55
m_Models[modelId]->RestoreEntitiesUsingThisModel ();
53
56
m_Models[modelId] = nullptr ;
54
57
m_modelCount--;
Original file line number Diff line number Diff line change 8
8
msgstr ""
9
9
"Project-Id-Version : MTA San Andreas 1.x\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
- "POT-Creation-Date : 2024-09-25 18:23 +0000\n "
11
+ "POT-Creation-Date : 2024-09-27 04:28 +0000\n "
12
12
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13
13
"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
14
14
"
Language-Team :
LANGUAGE <[email protected] >\n "
@@ -2340,7 +2340,7 @@ msgstr ""
2340
2340
2341
2341
#: Client/core/CVersionUpdater.cpp:1915
2342
2342
msgid ""
2343
- "Update not currently avalable .\n"
2343
+ "An update is currently not available .\n"
2344
2344
"\n"
2345
2345
"Please check www.mtasa.com"
2346
2346
msgstr ""
You can’t perform that action at this time.
0 commit comments