Commit d26deec3 authored by Chrono-Genex's avatar Chrono-Genex Committed by GitHub

fix show pscale (#2415)

parent 2736908b
...@@ -1604,7 +1604,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) { ...@@ -1604,7 +1604,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
myswprintf(formatBuffer, L"\n(%ls)", dataManager.GetName(mcard->alias)); myswprintf(formatBuffer, L"\n(%ls)", dataManager.GetName(mcard->alias));
str.append(formatBuffer); str.append(formatBuffer);
} }
if(mcard->location == LOCATION_SZONE && mcard->lscale) { if(mcard->location == LOCATION_SZONE && (mcard->type & TYPE_PENDULUM)) {
myswprintf(formatBuffer, L"\n%d/%d", mcard->lscale, mcard->rscale); myswprintf(formatBuffer, L"\n%d/%d", mcard->lscale, mcard->rscale);
str.append(formatBuffer); str.append(formatBuffer);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment