Commit 0e47f4ab authored by DailyShana's avatar DailyShana

update for scale zero

parent 2be3deae
...@@ -155,18 +155,12 @@ void ClientCard::UpdateInfo(char* buf) { ...@@ -155,18 +155,12 @@ void ClientCard::UpdateInfo(char* buf) {
if(flag & QUERY_IS_PUBLIC) if(flag & QUERY_IS_PUBLIC)
is_public = BufferIO::ReadInt32(buf); is_public = BufferIO::ReadInt32(buf);
if(flag & QUERY_LSCALE) { if(flag & QUERY_LSCALE) {
pdata = BufferIO::ReadInt32(buf); lscale = BufferIO::ReadInt32(buf);
if(pdata && lscale != (unsigned int)pdata) { myswprintf(lscstring, L"%d", lscale);
lscale = pdata;
myswprintf(lscstring, L"%d", lscale);
}
} }
if(flag & QUERY_RSCALE) { if(flag & QUERY_RSCALE) {
pdata = BufferIO::ReadInt32(buf); rscale = BufferIO::ReadInt32(buf);
if(pdata && rscale != (unsigned int)pdata) { myswprintf(rscstring, L"%d", rscale);
rscale = pdata;
myswprintf(rscstring, L"%d", rscale);
}
} }
} }
void ClientCard::ClearTarget() { void ClientCard::ClearTarget() {
......
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