Fix missing period in update notification, --no-fft compile fix

This commit is contained in:
jacob1 2019-08-29 22:49:04 -04:00
parent f44d42dde8
commit 6279bbeed3
2 changed files with 2 additions and 3 deletions

View File

@ -1714,7 +1714,7 @@ void GameController::NotifyUpdateAvailable(Client * sender)
updateMessage << "\nNew version:\n ";
if (info.Type == UpdateInfo::Beta)
updateMessage << info.Major << " " << info.Minor << " Beta, Build " << info.Build;
updateMessage << info.Major << "." << info.Minor << " Beta, Build " << info.Build;
else if (info.Type == UpdateInfo::Snapshot)
#if MOD_ID > 0
updateMessage << "Mod version " << info.Time;
@ -1722,7 +1722,7 @@ void GameController::NotifyUpdateAvailable(Client * sender)
updateMessage << "Snapshot " << info.Time;
#endif
else if(info.Type == UpdateInfo::Stable)
updateMessage << info.Major << " " << info.Minor << " Stable, Build " << info.Build;
updateMessage << info.Major << "." << info.Minor << " Stable, Build " << info.Build;
if (info.Changelog.length())
updateMessage << "\n\nChangelog:\n" << info.Changelog;

View File

@ -376,7 +376,6 @@ void Gravity::update_grav(void)
}
fin:
memcpy(th_ogravmap, th_gravmap, (XRES/CELL)*(YRES/CELL)*sizeof(float));
memcpy(obmap, bmap, (XRES/CELL)*(YRES/CELL)*sizeof(unsigned char));
}
#endif