diff scn2k/scn2k_text.cc @ 39:de29c4d2d043

(none)
author thib
date Tue, 17 Mar 2009 22:00:05 +0000
parents 658272d883ed
children 651237260724
line wrap: on
line diff
--- a/scn2k/scn2k_text.cc
+++ b/scn2k/scn2k_text.cc
@@ -985,6 +985,15 @@ void TextImpl::Exec(Cmd& cmd) {
 	} else if (cmd.cmd1 == 0 && cmd.cmd2 == 2 && (cmd.cmd3 == 1 || cmd.cmd3 == 3) && cmd.cmd4 == 0) {
 		// 選択肢
 		CreateSelect(cmd);
+		//FIXME: Check if it's really clean
+		if (text_parsing) {
+			show();
+			text->StartText(text_stream);
+			if (skip_mode & SKIP_TEXT) text->wid->Flush();
+			else if (kcursor) kcursor->hide();
+			text_parsing = false;
+			text_stream.Clear();
+		}
 		cmd.cmd_type = CMD_ROLLBACKPOINT; /* 選択肢はセーブ位置 / シナリオ巻き戻し位置 */
 		// cmd.clear();
 	} else if (cmd.cmd1 == 0 && cmd.cmd2 == 4) {