diff options
-rw-r--r-- | plugins/Actman/i_options.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Actman/i_options.inc b/plugins/Actman/i_options.inc index fbbf6c558c..2dc6af1665 100644 --- a/plugins/Actman/i_options.inc +++ b/plugins/Actman/i_options.inc @@ -417,7 +417,8 @@ begin if NumMacros>0 then
begin
// V2 counts actions from 1, not 0
- v2:=DBReadDWord(0,DBBranch,'Group0/Action0/flags',$FFFFFFFF)=$FFFFFFFF;
+// v2:=DBReadDWord(0,DBBranch,'Group0/Action0/flags',$FFFFFFFF)=$FFFFFFFF; // don't work if no actions
+ v2:=DBReadByte(0,DBBranch,'version',2)=2;
if v2 then
begin
|