1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Event message meta string

This commit is contained in:
nordsoft
2023-09-27 23:28:17 +02:00
parent f9f79255c5
commit 00c8c2eb82
4 changed files with 7 additions and 6 deletions

View File

@ -3216,7 +3216,7 @@ void CGameHandler::handleTimeEvents()
//prepare dialog
InfoWindow iw;
iw.player = color;
iw.text.appendRawString(ev.message);
iw.text = ev.message;
for (int i=0; i<ev.resources.size(); i++)
{
@ -3267,7 +3267,7 @@ void CGameHandler::handleTownEvents(CGTownInstance * town, NewTurn &n)
// dialog
InfoWindow iw;
iw.player = player;
iw.text.appendRawString(ev.message);
iw.text = ev.message;
if (ev.resources.nonZero())
{