AGS: Defer texture update until update_screen()

This commit is contained in:
kichikuou
2025-02-22 15:24:27 +09:00
parent 71bc53e9b1
commit 446d34132a
7 changed files with 17 additions and 54 deletions
-9
View File
@@ -133,15 +133,6 @@ void NACT::execute()
// 1コマンド実行
uint8 cmd = sco.fetch_command();
if(set_palette && cmd != 'P') {
// パレット設定が終わった
ags->flush_screen(true);
set_palette = false;
#ifdef ENABLE_DEBUGGER
if (g_debugger)
g_debugger->on_palette_change();
#endif
}
if(verb_obj && cmd != '[' && cmd != ':') {
// 動詞-目的語メニューの表示
sco.ungetd();