• R/O
  • SSH
  • HTTPS

railsim2: Commit


Commit MetaInfo

Revision10 (tree)
Time2012-08-29 21:33:45
Authorokadu

Log Message

[okadu] gcc コンパイルエラー修正

Change Summary

Incremental Difference

--- trunk/CCamera.cpp (revision 9)
+++ trunk/CCamera.cpp (revision 10)
@@ -219,11 +219,13 @@
219219 }
220220 g_NeutralMode->SetFocusInfo(m_FocusInfo);
221221 }else{
222- g_NeutralMode->SetFocusInfo(CDetectInfo());
222+ CDetectInfo tmp_detect_info;
223+ g_NeutralMode->SetFocusInfo(tmp_detect_info);
223224 }
224225 if(GetFocusInst()->IsWarping()) return;
225226 }else{
226- g_NeutralMode->SetFocusInfo(CDetectInfo());
227+ CDetectInfo tmp_detect_info;
228+ g_NeutralMode->SetFocusInfo(tmp_detect_info);
227229 }
228230 float sinpitch = sinf(m_Pitch), cospitch = cosf(m_Pitch);
229231 VEC3 pos, up = V3UP;
--- trunk/CWindowDivInfo.cpp (revision 9)
+++ trunk/CWindowDivInfo.cpp (revision 10)
@@ -21,7 +21,8 @@
2121
2222 void CWindowInfo::Free(){
2323 m_Scene = NULL;
24- m_Camera.SetFocusInfo(CDetectInfo());
24+ CDetectInfo tmp_detect_info;
25+ m_Camera.SetFocusInfo(tmp_detect_info);
2526 DELETE_V(m_Div);
2627 }
2728
Show on old repository browser