mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2025-04-16 14:21:40 +00:00
C++98 fix: nullptr -> NULL
This commit is contained in:
parent
e0fa7ab799
commit
75fe79db3e
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 );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2151,7 +2151,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 );
|
||||
}
|
||||
//rev 2021 Dhewm 3 1.5.1 updates end
|
||||
|
|
Loading…
Reference in a new issue