summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-02-14 13:07:01 +0100
committerErich Eckner <git@eckner.net>2016-02-14 13:07:01 +0100
commit59a003e7c2b0211fabecd6c899b336e016e96ae9 (patch)
tree5e593d0eed24a441171576c420a839a5a1b44bb0
parentc8a742990c6e54b916762bb996d40ac49bd10663 (diff)
downloadunits-59a003e7c2b0211fabecd6c899b336e016e96ae9.tar.xz
irdecoderunit führt Befehl nun auch dann aus, wenn er keine Parameter
hat
-rw-r--r--irdecoderunit.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/irdecoderunit.pas b/irdecoderunit.pas
index cff9936..c85e657 100644
--- a/irdecoderunit.pas
+++ b/irdecoderunit.pas
@@ -343,7 +343,7 @@ begin
end;
end;
- if (cmd<>'nop') and (params<>befehlsTabelle[bef].neutralParams) then
+ if (cmd<>'nop') and ((params<>befehlsTabelle[bef].neutralParams) or (params='')) then
befehlAusfuehren(cmd,params);
end;