diff --git a/src/tmx2gba.cpp b/src/tmx2gba.cpp index f98a85c..64f5cc4 100644 --- a/src/tmx2gba.cpp +++ b/src/tmx2gba.cpp @@ -85,6 +85,7 @@ void GetoptClear () next = nullptr; #else optreset = 1; + optind = 1; #endif }