Fixed bug : Peasants don't chop wood

This commit is contained in:
jsalmon3 2002-06-25 03:17:36 +00:00
parent cd2afafddc
commit 5fb2f87a81
2 changed files with 4 additions and 3 deletions
doc
src/stratagus

View file

@ -879,6 +879,7 @@
<LI>Added free for all, top vs bottom, and left vs right game types (from
Jimmy Salmon).
<LI>Added if-resource trigger (from Jimmy Salmon).
<LI>Fixed bug #573331: Peasants don't chop wood (from Jimmy Salmon).
</UL>
</UL>

View file

@ -1471,11 +1471,11 @@ local void PudWriteREGM(gzFile f,const WorldMap* map)
v=MapActionIsland;
} else if( f&MapFieldWaterAllowed ) {
v=MapActionWater;
} else if( f&MapFieldLandAllowed ) {
} else if( (f&MapFieldLandAllowed) || (f&MapFieldCoastAllowed) ) {
v=MapActionLand;
}
regm[i] = v >> 0;
regm[i] = v >> 8;
regm[i*2+0]=v >> 0;
regm[i*2+1]=v >> 8;
}
gzwrite(f,regm,n*2);