From 8e8e416528bde7d2b05fa9a94f2765a4d7e65ca3 Mon Sep 17 00:00:00 2001 From: met0rii Date: Tue, 12 Dec 2023 22:55:11 +0100 Subject: [PATCH 1/2] check if player has active transform --- zUtilities/QuickSave.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/zUtilities/QuickSave.cpp b/zUtilities/QuickSave.cpp index 18c6d16..ff5ddea 100644 --- a/zUtilities/QuickSave.cpp +++ b/zUtilities/QuickSave.cpp @@ -44,6 +44,7 @@ namespace GOTHIC_ENGINE { if ( playerHelper.IsDead() ) return false; if ( InInteraction() ) return false; if ( player->GetAnictrl()->state != zCAIPlayer::zMV_STATE_STAND ) return false; + if (player->HasBodyStateModifier(BS_MOD_TRANSFORMED)) return false; //if ( ogame->game_testmode ) return false; //if ( !player->IsInFightMode_S(0) ) return false; From 59d59f15e425752bef8194dba42f281c8e793e48 Mon Sep 17 00:00:00 2001 From: met0rii Date: Tue, 12 Dec 2023 23:54:57 +0100 Subject: [PATCH 2/2] version bump --- zUtilities/Const.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zUtilities/Const.h b/zUtilities/Const.h index e3ba4f7..0e84cac 100644 --- a/zUtilities/Const.h +++ b/zUtilities/Const.h @@ -3,7 +3,7 @@ namespace GOTHIC_ENGINE { #define PLUGIN_NAME "ZUTILITIES" -#define VERSION_NUMBER "0.35" +#define VERSION_NUMBER "0.36" #define printWin(a) ogame->GetTextView()->Printwin(a) #define del(x) { delete x; x = nullptr; } } \ No newline at end of file