forked from github/server
fixes
This commit is contained in:
parent
87c931ca18
commit
591eb201b3
2 changed files with 2 additions and 4 deletions
|
@ -2144,9 +2144,9 @@ sp_ironkeeper(castorder *co)
|
||||||
keeper = create_unit(r, mage->faction, 1, new_race[RC_IRONKEEPER], 0, NULL, mage);
|
keeper = create_unit(r, mage->faction, 1, new_race[RC_IRONKEEPER], 0, NULL, mage);
|
||||||
|
|
||||||
/*keeper->age = cast_level + 2;*/
|
/*keeper->age = cast_level + 2;*/
|
||||||
|
setstatus(keeper, ST_AVOID); /* kaempft nicht */
|
||||||
guard(keeper, GUARD_MINING);
|
guard(keeper, GUARD_MINING);
|
||||||
fset(keeper, UFL_ISNEW);
|
fset(keeper, UFL_ISNEW);
|
||||||
setstatus(keeper, ST_AVOID); /* kaempft nicht */
|
|
||||||
/* Parteitarnen, damit man nicht sofort weiß, wer dahinter steckt */
|
/* Parteitarnen, damit man nicht sofort weiß, wer dahinter steckt */
|
||||||
fset(keeper, UFL_PARTEITARNUNG);
|
fset(keeper, UFL_PARTEITARNUNG);
|
||||||
{
|
{
|
||||||
|
|
|
@ -159,9 +159,7 @@ static int
|
||||||
tolua_read_orders(lua_State* tolua_S)
|
tolua_read_orders(lua_State* tolua_S)
|
||||||
{
|
{
|
||||||
const char * filename = tolua_tostring(tolua_S, 1, 0);
|
const char * filename = tolua_tostring(tolua_S, 1, 0);
|
||||||
int result;
|
int result = readorders(filename);
|
||||||
++turn;
|
|
||||||
result = readorders(filename);
|
|
||||||
lua_pushnumber(tolua_S, (lua_Number)result);
|
lua_pushnumber(tolua_S, (lua_Number)result);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue