summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-03 18:59:03 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-03 18:59:03 +0300
commit213a8eb905166ceb1bed067ac4deddd1f31fd3b4 (patch)
tree982c221d20e99008ca8828d3a4cc5b7f2b7a7b34 /src
parentee05c7fe427f473e1f5cf5e6a728bbaf4fc9218a (diff)
fixed intro text line defaults
Diffstat (limited to 'src')
-rw-r--r--src/control/Script.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/control/Script.h b/src/control/Script.h
index 588c1f41..8cf6bb42 100644
--- a/src/control/Script.h
+++ b/src/control/Script.h
@@ -1,5 +1,6 @@
#pragma once
#include "common.h"
+#include "Font.h"
#include "Ped.h"
#include "PedType.h"
#include "Text.h"
@@ -99,7 +100,7 @@ struct intro_text_line
m_sBackgroundColor = CRGBA(128, 128, 128, 128);
m_bTextProportional = true;
m_bTextBeforeFade = false;
- m_nFont = 2; /* enum? */
+ m_nFont = FONT_HEADING;
m_fAtX = 0.0f;
m_fAtY = 0.0f;
memset(&m_Text, 0, sizeof(m_Text));