Skip to content

Commit 81ab567

Browse files
committedDec 10, 2024
fixed random import
1 parent d9c9f49 commit 81ab567

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎zig-game/build.zig.zon

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
.dependencies = .{
2626
.@"raylib-zig" = .{
2727
.url = "https://github.com/Not-Nik/raylib-zig/archive/devel.tar.gz",
28-
.hash = "1220df9aa89d657f5dca24ab0ac3d187f7a992a4d27461fd9e76e934bf0670ca9a90",
28+
.hash = "122058d3ea6318efb819d0bffba630afd1a459fa3a99b4bfe4b680a937d5de04d2fc"
2929
},
3030
},
3131
.paths = .{

‎zig-game/src/enemy_blimp.zig

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const std = @import("std");
55
const bcauge = @import("bar_cauge.zig");
66
const col_y_offset = 20;
77
const col_x_offset = 13;
8-
var prng = std.rand.DefaultPrng.init(666);
8+
var prng = std.Random.DefaultPrng.init(666);
99
const rand = prng.random();
1010

1111
//The enemy has a collision box that is rectangle and is smaller than the sprite to make collision detection fairer

0 commit comments

Comments
 (0)
Please sign in to comment.