Skip to content

Commit

Permalink
Don't use the deprecated @:enum abstract. (deepnight#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
qlambert-pro authored Oct 11, 2023
1 parent 144e494 commit 3695ffb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dn/legacy/GamePad.hx
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package dn.legacy;

#if (haxe_ver >= 4)
enum
#else
@:enum
#end
abstract PadKey(Int) {
var A = 0;
var B = 1;
Expand Down

0 comments on commit 3695ffb

Please sign in to comment.