Working on night mode and how player goes in
This commit is contained in:
1 parent
1d3bea452c
commit
9221ab68ac
8 files changed
+550
-274
No files matched your search
+5
-2
@@ -15,7 +15,6 @@
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#include <emscripten.h>
|
||||
#endif
|
||||
@@ -1191,7 +1190,11 @@ namespace ZL
|
||||
if (darklandsFlashAlpha >= 1.0f) {
|
||||
if (isNightTransition) {
|
||||
menuManager.isNight = !menuManager.isNight;
|
||||
if (currentLocation) currentLocation->dialogueSystem.startDialogue("dialog_video001");
|
||||
if (currentLocation)
|
||||
{
|
||||
//currentLocation->dialogueSystem.startDialogue("dialog_video001");
|
||||
currentLocation->scriptEngine.callTriggerNightEnterCallback();
|
||||
}
|
||||
} else {
|
||||
isDarklands = !isDarklands;
|
||||
|
||||
|
||||
Reference in new issue
Block a user