Fix missing period in update notification, --no-fft compile fix
This commit is contained in:
parent
f44d42dde8
commit
6279bbeed3
@ -1714,7 +1714,7 @@ void GameController::NotifyUpdateAvailable(Client * sender)
|
|||||||
|
|
||||||
updateMessage << "\nNew version:\n ";
|
updateMessage << "\nNew version:\n ";
|
||||||
if (info.Type == UpdateInfo::Beta)
|
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)
|
else if (info.Type == UpdateInfo::Snapshot)
|
||||||
#if MOD_ID > 0
|
#if MOD_ID > 0
|
||||||
updateMessage << "Mod version " << info.Time;
|
updateMessage << "Mod version " << info.Time;
|
||||||
@ -1722,7 +1722,7 @@ void GameController::NotifyUpdateAvailable(Client * sender)
|
|||||||
updateMessage << "Snapshot " << info.Time;
|
updateMessage << "Snapshot " << info.Time;
|
||||||
#endif
|
#endif
|
||||||
else if(info.Type == UpdateInfo::Stable)
|
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())
|
if (info.Changelog.length())
|
||||||
updateMessage << "\n\nChangelog:\n" << info.Changelog;
|
updateMessage << "\n\nChangelog:\n" << info.Changelog;
|
||||||
|
@ -376,7 +376,6 @@ void Gravity::update_grav(void)
|
|||||||
}
|
}
|
||||||
fin:
|
fin:
|
||||||
memcpy(th_ogravmap, th_gravmap, (XRES/CELL)*(YRES/CELL)*sizeof(float));
|
memcpy(th_ogravmap, th_gravmap, (XRES/CELL)*(YRES/CELL)*sizeof(float));
|
||||||
memcpy(obmap, bmap, (XRES/CELL)*(YRES/CELL)*sizeof(unsigned char));
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user