Skip to content

Commit

Permalink
Merge pull request #25 from met0rii/master
Browse files Browse the repository at this point in the history
Fix: Verify whether the player has an active transform when attempting to QuickSave.
  • Loading branch information
Franisz authored Dec 13, 2023
2 parents 7bbcead + 59d59f1 commit f807388
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion zUtilities/Const.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}
1 change: 1 addition & 0 deletions zUtilities/QuickSave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f807388

Please sign in to comment.