From: Alexander Monakov Date: Mon, 3 Jan 2011 21:13:16 +0000 (+0300) Subject: Simplify dialogue handling X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=c3b295d824f7212a4888535aea52081ff88f5fb6;p=lugaru.git Simplify dialogue handling --- diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index 55fbb96..d4b662d 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -1686,21 +1686,6 @@ void Game::Loadlevel(char *name){ player[0].creature=rabbittype; } - for(i=0;i64||templength<=0)templength=64; @@ -1746,6 +1732,7 @@ void Game::Loadlevel(char *name){ break; } } + dialoguename[k][l][m] = 0; funpackf(tfile, "Bf Bf Bf", &dialoguecamera[k][l].x, &dialoguecamera[k][l].y, &dialoguecamera[k][l].z); funpackf(tfile, "Bi", &participantfocus[k][l]); funpackf(tfile, "Bi", &participantaction[k][l]);