mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-24 21:41:23 +00:00
Remove usage of C++11 nullptr
This commit is contained in:
parent
2752ffd0bb
commit
b3bc2cb8a9
2 changed files with 2 additions and 2 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 );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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