Fixed warning regarding loading the load screen texture
This commit is contained in:
parent
9b67305893
commit
81dac26e29
@ -13,8 +13,7 @@ function create()
|
||||
|
||||
if rnd.int() > 0.7 then
|
||||
mem.bribe = math.sqrt(ai.shipmass())*(500. * rnd.int() + 1750.)
|
||||
mem.bribe_prompt = string.format("\"For some %d credits I could forget \
|
||||
about seeing you.\"", mem.bribe)
|
||||
mem.bribe_prompt = string.format("\"For some %d credits I could forget about seeing you.\"", mem.bribe)
|
||||
mem.bribe_paid = "\"Now, scram, before I change my mind.\""
|
||||
else
|
||||
if rnd.int() > 0.5 then
|
||||
|
@ -12,7 +12,7 @@ function create()
|
||||
|
||||
-- Deal with bribeability.
|
||||
if rnd.int() < 0.05 then
|
||||
mem.bribe_no = = "\"You won't be able to slide out of this one!\""
|
||||
mem.bribe_no = "\"You won't be able to slide out of this one!\""
|
||||
else
|
||||
mem.bribe = math.sqrt(ai.shipmass()) * (300. * rnd.int() + 850.)
|
||||
if rnd.int() > 0.5 then
|
||||
|
@ -305,7 +305,7 @@ void loadscreen_load(void) {
|
||||
}
|
||||
|
||||
/* Load the texture. */
|
||||
snprintf(file_path, PATH_MAX, loadscreens[RNG(0, nload-1)]);
|
||||
strncpy(file_path, loadscreens[RNG(0, nload-1)], PATH_MAX);
|
||||
loading = gl_newImage(file_path);
|
||||
|
||||
/* Clean up. */
|
||||
|
Loading…
Reference in New Issue
Block a user