streamloader return value
This commit is contained in:
parent
f7a429cfbc
commit
e4b5f8d361
@ -178,7 +178,7 @@ static int streamloader(void *ud, struct ResManRes *res) {
|
|||||||
snprintf(namebuf, sizeof(namebuf), "assets/aud/%s", res->name);
|
snprintf(namebuf, sizeof(namebuf), "assets/aud/%s", res->name);
|
||||||
|
|
||||||
res->thing = k3MixSourceFile(namebuf);
|
res->thing = k3MixSourceFile(namebuf);
|
||||||
return 1;
|
return !!res->thing;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int refresh_texture(struct ResManRes *res) {
|
static int refresh_texture(struct ResManRes *res) {
|
||||||
|
Loading…
Reference in New Issue
Block a user