Skip to content

Commit

Permalink
Merge branch 'bugfixes' into 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
automerge authored and cybersphinx committed Aug 27, 2012
2 parents c55693c + 5b3163b commit 84baba8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/multimenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ static void closeMultiRequester(void)
{
widgDelete(psRScreen,M_REQUEST);
multiRequestUp = false;

resetReadyStatus(false);
widgReleaseScreen(psRScreen); // move this to the frontend shutdown...
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/structure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5457,7 +5457,7 @@ void buildingComplete(STRUCTURE *psBuilding)
prevState = intGetResearchState();
}

psBuilding->currentBuildPts = (SWORD)psBuilding->pStructureType->buildPoints;
psBuilding->currentBuildPts = psBuilding->pStructureType->buildPoints;
psBuilding->status = SS_BUILT;

visTilesUpdate(psBuilding);
Expand Down
2 changes: 1 addition & 1 deletion src/structuredef.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ struct STRUCTURE : public BASE_OBJECT

STRUCTURE_STATS *pStructureType; /* pointer to the structure stats for this type of building */
STRUCT_STATES status; /* defines whether the structure is being built, doing nothing or performing a function */
SWORD currentBuildPts; /* the build points currently assigned to this structure */
int32_t currentBuildPts; /* the build points currently assigned to this structure */
SWORD resistance; /* current resistance points, 0 = cannot be attacked electrically */
UDWORD lastResistance; /* time the resistance was last increased*/
FUNCTIONALITY *pFunctionality; /* pointer to structure that contains fields necessary for functionality */
Expand Down

0 comments on commit 84baba8

Please sign in to comment.