mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-09 19:40:48 -05:00
8 lines
255 B
Diff
8 lines
255 B
Diff
46c46
|
|
< if (my_scale == 0) @compileError("Scale 1:0 is not valid!");
|
|
---
|
|
> if (my_scale == 0) my_scale = 1; //@compileError("Scale 1:0 is not valid!");
|
|
72c72
|
|
< var scale: u32 = undefined;
|
|
---
|
|
> comptime var scale: u32 = undefined;
|