summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-02-04 00:52:57 +0100
committerSergeanur <s.anureev@yandex.ua>2021-02-04 00:52:57 +0100
commit61618389e1b1505b1040a2cf49b733a648a4c740 (patch)
treeebbc0db4712b3524e7758fb5e980ea217355695a
parentfix VC_PED_PORTS build (diff)
downloadre3-61618389e1b1505b1040a2cf49b733a648a4c740.tar
re3-61618389e1b1505b1040a2cf49b733a648a4c740.tar.gz
re3-61618389e1b1505b1040a2cf49b733a648a4c740.tar.bz2
re3-61618389e1b1505b1040a2cf49b733a648a4c740.tar.lz
re3-61618389e1b1505b1040a2cf49b733a648a4c740.tar.xz
re3-61618389e1b1505b1040a2cf49b733a648a4c740.tar.zst
re3-61618389e1b1505b1040a2cf49b733a648a4c740.zip
-rw-r--r--src/render/Font.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/Font.cpp b/src/render/Font.cpp
index 7dba8094..6a9944e1 100644
--- a/src/render/Font.cpp
+++ b/src/render/Font.cpp
@@ -451,6 +451,7 @@ CFont::Shutdown(void)
for (int i = 0; i < MAX_BUTTON_ICONS; i++)
ButtonSprite[i].Delete();
CTxdStore::RemoveTxdSlot(ButtonsSlot);
+ ButtonsSlot = -1;
}
#endif
Sprite[0].Delete();