[Client] Fix Travis CI build by not using nullptr

0.6.1
David Cernat 8 years ago
parent c8a486de6c
commit a1d0b4908f

@ -1595,8 +1595,8 @@ void CharacterController::update(float duration)
*/ */
bool isLocalActor = mwmp::Main::get().getCellController()->isLocalActor(mPtr); bool isLocalActor = mwmp::Main::get().getCellController()->isLocalActor(mPtr);
bool isDedicatedActor = mwmp::Main::get().getCellController()->isDedicatedActor(mPtr); bool isDedicatedActor = mwmp::Main::get().getCellController()->isDedicatedActor(mPtr);
mwmp::LocalActor *localActor = nullptr; mwmp::LocalActor *localActor = 0;
mwmp::DedicatedActor *dedicatedActor = nullptr; mwmp::DedicatedActor *dedicatedActor = 0;
if (isLocalActor) if (isLocalActor)
localActor = mwmp::Main::get().getCellController()->getLocalActor(mPtr); localActor = mwmp::Main::get().getCellController()->getLocalActor(mPtr);

Loading…
Cancel
Save