diff GUIWindow.cpp @ 254:d1af3319bc44

BuilDialogueString: replaces %xx in dialogue strings by appropriate values
author Nomad
date Mon, 18 Feb 2013 08:48:23 +0200
parents 37dcbe8f3cca
children fb890fb66cad
line wrap: on
line diff
--- a/GUIWindow.cpp	Mon Feb 18 07:26:48 2013 +0200
+++ b/GUIWindow.cpp	Mon Feb 18 08:48:23 2013 +0200
@@ -729,7 +729,7 @@
               {
                 if ( v4 )
                 {
-                  v5 = sub_495461(v4, uActiveCharacter - 1, 0, 0, 0, v3);
+                  v5 = BuilDialogueString(v4, uActiveCharacter - 1, 0, 0, 0, v3);
                   v6 = pAutonoteFont->CalcTextHeight(v5, &v26, 1, 0);
                   v7 = (v6 - 3) / (signed int)v26.uFrameHeight;
                   v8 = v7 + 1;