summary refs log tree commit diff
path: root/src/config.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.zig b/src/config.zig
index ecb199f..6622ef2 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -92,7 +92,7 @@ fn parseLevels(dir_path: []const u8, length: usize) ![*]Level {
                 else return error.InvalidData;
             } else if (eql(u8, kv.key, "evil weapons")) {
                 var weapons = IntegerBitSet(8).initEmpty();
-                var enums = tokenize(kv.value, " ");
+                var enums = tokenize(u8, kv.value, " ");
                 while (enums.next()) |weapon|
                     weapons.set(try parseInt(u3, weapon, 10));
                 levels[i].evil_weapons = weapons.mask;