- updated crc log for units to exclude floating point rotation info

This commit is contained in:
Mark Vejvoda 2013-09-17 01:32:25 +00:00
parent d22c10ccda
commit d7abf70920
1 changed files with 5 additions and 3 deletions

View File

@ -4095,9 +4095,11 @@ std::string Unit::toString(bool crcMode) const {
result += " meetingPos = " + meetingPos.getString();
result += "\n";
result += " lastRotation = " + floatToStr(this->lastRotation,16);
result += " targetRotation = " + floatToStr(this->targetRotation,16);
result += " rotation = " + floatToStr(this->rotation,16);
if(crcMode == false) {
result += " lastRotation = " + floatToStr(this->lastRotation,16);
result += " targetRotation = " + floatToStr(this->targetRotation,16);
result += " rotation = " + floatToStr(this->rotation,16);
}
if(loadType != NULL) {
result += " loadType = " + loadType->getName();