mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-21 12:11:07 +00:00
Remove usage of C++11 nullptr
This commit is contained in:
parent
2f7f107ff9
commit
b5c30809b1
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