mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-22 20:51:20 +00:00
Set ENGINE_VERSION to 1.5.1, remove usage of C++11 nullptr
This commit is contained in:
parent
f2239c75da
commit
c0421c9e0f
3 changed files with 4 additions and 4 deletions
|
@ -1637,7 +1637,7 @@ void idPhysics_Player::Restore( idRestoreGame *savefile ) {
|
|||
* Resetting the axis to mat3_identity when restoring a savegame works around that issue
|
||||
* and makes sure players can go on playing if their savegame was "corrupted" by saving
|
||||
* while idPush was active. See https://github.com/dhewm/dhewm3/issues/328 for more details */
|
||||
if ( clipModel != nullptr ) {
|
||||
if ( clipModel != NULL ) {
|
||||
clipModel->SetPosition( clipModel->GetOrigin(), mat3_identity );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,12 +41,12 @@ If you have questions concerning this license or the applicable additional terms
|
|||
#define GAME_NAME "dhewm 3" // appears on window titles and errors
|
||||
#endif
|
||||
|
||||
#define ENGINE_VERSION "dhewm3 1.5.1rc3" // printed in console
|
||||
#define ENGINE_VERSION "dhewm3 1.5.1" // printed in console
|
||||
|
||||
#ifdef ID_REPRODUCIBLE_BUILD
|
||||
// for reproducible builds we hardcode values that would otherwise come from __DATE__ and __TIME__
|
||||
// NOTE: remember to update esp. the date for (pre-) releases and RCs and the like
|
||||
#define ID__DATE__ "Feb 21 2021"
|
||||
#define ID__DATE__ "Mar 13 2021"
|
||||
#define ID__TIME__ "13:37:42"
|
||||
|
||||
#else // not reproducible build, use __DATE__ and __TIME__ macros
|
||||
|
|
|
@ -1637,7 +1637,7 @@ void idPhysics_Player::Restore( idRestoreGame *savefile ) {
|
|||
* Resetting the axis to mat3_identity when restoring a savegame works around that issue
|
||||
* and makes sure players can go on playing if their savegame was "corrupted" by saving
|
||||
* while idPush was active. See https://github.com/dhewm/dhewm3/issues/328 for more details */
|
||||
if ( clipModel != nullptr ) {
|
||||
if ( clipModel != NULL ) {
|
||||
clipModel->SetPosition( clipModel->GetOrigin(), mat3_identity );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue