Browse Source

Fix pfCamera compilation.

Darryl Pogue 13 years ago
parent
commit
d8ce2aa302
  1. 4
      Sources/Plasma/FeatureLib/pfCamera/plCameraBrain.cpp
  2. 4
      Sources/Plasma/FeatureLib/pfCamera/plVirtualCamNeu.cpp

4
Sources/Plasma/FeatureLib/pfCamera/plCameraBrain.cpp

@ -977,7 +977,7 @@ plCameraBrain1_Avatar::~plCameraBrain1_Avatar()
pMsg->SetFadeOut(false); pMsg->SetFadeOut(false);
pMsg->SetSubjectKey(plNetClientMgr::GetInstance()->GetLocalPlayerKey()); pMsg->SetSubjectKey(plNetClientMgr::GetInstance()->GetLocalPlayerKey());
pMsg->SetBCastFlag(plMessage::kBCastByExactType); pMsg->SetBCastFlag(plMessage::kBCastByExactType);
pMsg->SetBCastFlag(plMessage::kNetPropagate, FALSE); pMsg->SetBCastFlag(plMessage::kNetPropagate, false);
pMsg->AddReceiver(plNetClientMgr::GetInstance()->GetLocalPlayerKey()); pMsg->AddReceiver(plNetClientMgr::GetInstance()->GetLocalPlayerKey());
plgDispatch::MsgSend(pMsg); plgDispatch::MsgSend(pMsg);
} }
@ -1152,7 +1152,7 @@ void plCameraBrain1_Avatar::ISendFadeMsg(hsBool fade)
pMsg->SetFadeOut(fade); pMsg->SetFadeOut(fade);
pMsg->SetSubjectKey(GetSubject()->GetKey()); pMsg->SetSubjectKey(GetSubject()->GetKey());
pMsg->SetBCastFlag(plMessage::kBCastByExactType); pMsg->SetBCastFlag(plMessage::kBCastByExactType);
pMsg->SetBCastFlag(plMessage::kNetPropagate, FALSE); pMsg->SetBCastFlag(plMessage::kNetPropagate, false);
pMsg->AddReceiver(GetSubject()->GetKey()); pMsg->AddReceiver(GetSubject()->GetKey());
plgDispatch::MsgSend(pMsg); plgDispatch::MsgSend(pMsg);
} }

4
Sources/Plasma/FeatureLib/pfCamera/plVirtualCamNeu.cpp

@ -189,7 +189,7 @@ plVirtualCam1::plVirtualCam1()
wchar_t fileAndPath[MAX_PATH]; wchar_t fileAndPath[MAX_PATH];
PathGetLogDirectory(fileAndPath, arrsize(fileAndPath)); PathGetLogDirectory(fileAndPath, arrsize(fileAndPath));
PathAddFilename(fileAndPath, fileAndPath, L"camLog.txt", arrsize(fileAndPath)); PathAddFilename(fileAndPath, fileAndPath, L"camLog.txt", arrsize(fileAndPath));
foutLog = _wfopen( fileAndPath, L"wt" ); foutLog = hsWFopen( fileAndPath, L"wt" );
} }
#endif #endif
@ -1306,7 +1306,7 @@ hsBool plVirtualCam1::MsgReceive(plMessage* msg)
pMsg->SetFadeOut(true); pMsg->SetFadeOut(true);
pMsg->SetSubjectKey(plNetClientMgr::GetInstance()->GetLocalPlayerKey()); pMsg->SetSubjectKey(plNetClientMgr::GetInstance()->GetLocalPlayerKey());
pMsg->SetBCastFlag(plMessage::kBCastByExactType); pMsg->SetBCastFlag(plMessage::kBCastByExactType);
pMsg->SetBCastFlag(plMessage::kNetPropagate, FALSE); pMsg->SetBCastFlag(plMessage::kNetPropagate, false);
pMsg->AddReceiver(plNetClientMgr::GetInstance()->GetLocalPlayerKey()); pMsg->AddReceiver(plNetClientMgr::GetInstance()->GetLocalPlayerKey());
plgDispatch::MsgSend(pMsg); plgDispatch::MsgSend(pMsg);
return true; return true;

Loading…
Cancel
Save