Skip to content

Commit

Permalink
-Fix (a21fdf0): radar activated flag was written twice
Browse files Browse the repository at this point in the history
  • Loading branch information
wangds committed May 31, 2014
1 parent 271bf0c commit 4a0854e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/saveload/saveload.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ bool SaveLoad_Save(const SaveLoadDesc *sld, FILE *fp, void *object)

case SLDT_HOUSEFLAGS: {
HouseFlags *f = (HouseFlags *)ptr;
value = f->used | (f->human << 1) | (f->doneFullScaleAttack << 2) | (f->isAIActive << 3) | (f->radarActivated << 4) | (f->radarActivated << 5);
value = f->used | (f->human << 1) | (f->doneFullScaleAttack << 2) | (f->isAIActive << 3) | (f->radarActivated << 4);
} break;

case SLDT_OBJECTFLAGS: {
Expand Down

0 comments on commit 4a0854e

Please sign in to comment.