forked from github/server
resizing a buffer that was way too small
This commit is contained in:
parent
c7fe1c21ee
commit
3fbf8ffbfc
3 changed files with 4 additions and 4 deletions
|
@ -3775,7 +3775,7 @@ static void reset_rng(void) {
|
|||
rng_init(turn?turn:(int)time(0));
|
||||
}
|
||||
|
||||
static void reset_rng_region(const region * r)
|
||||
static void reset_rng_region(region * r)
|
||||
{
|
||||
rng_init(r->index);
|
||||
}
|
||||
|
|
|
@ -545,7 +545,7 @@ sp_summon_familiar(castorder *co)
|
|||
int dh, dh1, bytes;
|
||||
direction_t d;
|
||||
message * msg;
|
||||
char zText[NAMESIZE], * bufp = zText;
|
||||
char zText[2048], * bufp = zText;
|
||||
size_t size = sizeof(zText) - 1;
|
||||
|
||||
if (get_familiar(mage) != NULL ) {
|
||||
|
|
|
@ -11,7 +11,7 @@ end
|
|||
|
||||
function change_locales()
|
||||
-- local localechange = { }
|
||||
local localechange = { de = { "bLub" } }
|
||||
local localechange = { en = { "adun" } }
|
||||
|
||||
for loc, flist in pairs(localechange) do
|
||||
for index, name in pairs(flist) do
|
||||
|
@ -96,7 +96,7 @@ function process(orders)
|
|||
update_scores()
|
||||
|
||||
change_locales()
|
||||
|
||||
|
||||
-- use newfactions file to place out new players
|
||||
autoseed(basepath .. "/newfactions", false)
|
||||
|
||||
|
|
Loading…
Reference in a new issue