2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:47:42 +00:00

Fix water rendering

This commit is contained in:
Jack Andersen
2018-06-02 20:11:39 -10:00
parent 357a7efa9a
commit a5f25bf3f4
16 changed files with 98 additions and 73 deletions

View File

@@ -8,6 +8,7 @@
#include "CStateManager.hpp"
#include "IMain.hpp"
#include "CPlayer.hpp"
#include "hecl/CVarManager.hpp"
namespace urde
{
@@ -456,11 +457,9 @@ void CScriptSpecialFunction::ThinkPlayerInArea(float, CStateManager &)
bool CScriptSpecialFunction::ShouldSkipCinematic(CStateManager& stateMgr) const
{
#ifndef NDEBUG
return true;
#else
if (hecl::com_developer->toBoolean())
return true;
return g_GameState->SystemOptions().GetCinematicState(stateMgr.GetWorld()->IGetWorldAssetId(), GetEditorId());
#endif
}
void CScriptSpecialFunction::DeleteEmitter(const CSfxHandle& handle)