mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-08-03 03:06:55 -04:00
parent
f2dc3faec2
commit
fe687be59f
Before Width: | Height: | Size: 1000 B After Width: | Height: | Size: 1000 B |
@ -110,8 +110,8 @@ pub const ClientEntityManager = struct {
|
||||
.{.attachments = &.{.alphaBlending}},
|
||||
);
|
||||
|
||||
modelTexture = main.graphics.Texture.initFromFile("assets/cubyz/entity/textures/snail_player.png");
|
||||
const modelFile = main.files.read(main.stackAllocator, "assets/cubyz/entity/models/snail_player.obj") catch |err| blk: {
|
||||
modelTexture = main.graphics.Texture.initFromFile("assets/cubyz/entity/textures/snale.png");
|
||||
const modelFile = main.files.read(main.stackAllocator, "assets/cubyz/entity/models/snale.obj") catch |err| blk: {
|
||||
std.log.err("Error while reading player model: {s}", .{@errorName(err)});
|
||||
break :blk &.{};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user