mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-05-08 12:41:42 -04:00
fixed building upgrade draw position issue .
This commit is contained in:
parent
1140890ca0
commit
931dd4f2eb
1 changed files with 1 additions and 1 deletions
|
@ -5476,7 +5476,7 @@ void CIsoView::DrawMap()
|
|||
|
||||
if (pic.pic != NULL) {
|
||||
static const CString LocLookup[3][2] = { {"PowerUp1LocXX", "PowerUp1LocYY"}, {"PowerUp2LocXX", "PowerUp2LocYY"}, {"PowerUp3LocXX", "PowerUp3LocYY"} };
|
||||
const auto drawCoordsPowerUp = drawCoordsBldShp + ProjectedVec(
|
||||
const auto drawCoordsPowerUp = drawCoordsBld + ProjectedVec(f_x / 2 - pic.wMaxWidth / 2, -pic.wMaxHeight / 2) + ProjectedVec(
|
||||
atoi(art.GetString(objp.type, LocLookup[upgrade][0])),
|
||||
atoi(art.GetString(objp.type, LocLookup[upgrade][1]))
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue