diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-05-04 08:48:24 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-05-04 08:48:24 -0400 |
commit | 095293277dbca80e91c4f25b05923b7cb3a79396 (patch) | |
tree | c87a293a74769bd9b28595ba7bd83d714e70dc56 /src | |
parent | d2b7f062a0240bfdc8b84593834fc711c7a53dca (diff) |
fade fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/entities.cpp | 2 | ||||
-rw-r--r-- | src/ui.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/entities.cpp b/src/entities.cpp index 216d9ef..5198c01 100644 --- a/src/entities.cpp +++ b/src/entities.cpp @@ -546,7 +546,7 @@ COMMONAIFUNC: } while ((oxml = oxml->NextSiblingElement())); // run the dialog stuff - ui::dialogBox(name, optstr, false, exml->GetText() + 1); + ui::dialogBox(name, optstr, false, exml->GetText() + 2); ui::waitForDialog(); if (ui::dialogOptChosen) @@ -76,7 +76,7 @@ extern void mainLoop(void); static bool fadeEnable = false; static bool fadeWhite = false; static bool fadeFast = false; -static unsigned int fadeIntensity = 0; +static int fadeIntensity = 0; bool inBattle = false; Mix_Chunk *battleStart; @@ -865,10 +865,10 @@ namespace ui { return; } - /*if (!typeOutDone) { + if (!typeOutDone) { typeOutDone = true; return; - }*/ + } for(i=0;i<dialogOptText.size();i++) { if (mouse.x > dialogOptText[i].second.x && |