Everything that uses maptext now uses the class that makes it actually readable (#55420)

Adds a MAPTEXT macro that wraps the given text in the maptext class, the thing we use for Runechat to make it so you can actually read it. Everything that sets maptext now uses this.
This commit is contained in:
Jared-Fogle
2020-12-10 23:25:46 +00:00
committed by GitHub
parent 4353d7b885
commit 7d3fd4355f
25 changed files with 38 additions and 35 deletions
+3 -3
View File
@@ -135,13 +135,13 @@ SUBSYSTEM_DEF(explosions)
if(dist < dev)
T.color = "red"
T.maptext = "Dev"
T.maptext = MAPTEXT("Dev")
else if (dist < heavy)
T.color = "yellow"
T.maptext = "Heavy"
T.maptext = MAPTEXT("Heavy")
else if (dist < light)
T.color = "blue"
T.maptext = "Light"
T.maptext = MAPTEXT("Light")
else
continue