forked from github/server
borken merge fix
This commit is contained in:
parent
a66e81e90d
commit
cc4367f1b7
1 changed files with 1 additions and 14 deletions
|
@ -595,27 +595,19 @@ bool is_coastregion(region * r)
|
|||
|
||||
int rpeasants(const region * r)
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
return r->land ? r->land->peasants : 0;
|
||||
=======
|
||||
int value = 0;
|
||||
if (r->land) {
|
||||
value = r->land->peasants;
|
||||
assert(value >= 0);
|
||||
}
|
||||
return value;
|
||||
>>>>>>> master
|
||||
}
|
||||
|
||||
void rsetpeasants(region * r, int value)
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
if (r->land) {
|
||||
assert(value >= 0);
|
||||
=======
|
||||
assert(r->land || value==0);
|
||||
assert(value >= 0);
|
||||
if (r->land) {
|
||||
>>>>>>> master
|
||||
r->land->peasants = value;
|
||||
}
|
||||
}
|
||||
|
@ -627,14 +619,9 @@ int rmoney(const region * r)
|
|||
|
||||
void rsethorses(const region * r, int value)
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
if (r->land) {
|
||||
assert(value >= 0);
|
||||
=======
|
||||
assert(r->land || value==0);
|
||||
assert(value >= 0);
|
||||
if (r->land) {
|
||||
>>>>>>> master
|
||||
r->land->horses = value;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue