X operations(XOPS)に非常に近いFPSゲームを制作・リメイクし、成果物をオープンソースとして公開することを目的としたプロジェクトです。
| Revision | 265 (tree) |
|---|---|
| Time | 2021-02-28 01:08:24 |
| Author | |
フリーカメラ(viewコマンド)使用時にデバック用情報を強制表示しないように、AI初期化時の処理を修正。
| @@ -36,7 +36,8 @@ | ||
| 36 | 36 | { |
| 37 | 37 | ObjMgr = in_ObjMgr; |
| 38 | 38 | ctrlid = in_ctrlid; |
| 39 | - ctrlhuman = in_ObjMgr->GetHumanObject(in_ctrlid); | |
| 39 | + if( in_ObjMgr != NULL ){ ctrlhuman = in_ObjMgr->GetHumanObject(in_ctrlid); } | |
| 40 | + else{ ctrlhuman = NULL; } | |
| 40 | 41 | blocks = in_blocks; |
| 41 | 42 | Param = in_Param; |
| 42 | 43 | CollD = in_CollD; |
| @@ -2846,7 +2846,7 @@ | ||
| 2846 | 2846 | |
| 2847 | 2847 | #ifdef ENABLE_DEBUGCONSOLE |
| 2848 | 2848 | //デバック用・ゲーム情報の表示 |
| 2849 | - if( (ShowInfo_Debugmode == true)||(Camera_Debugmode == true) ){ | |
| 2849 | + if( ShowInfo_Debugmode == true ){ | |
| 2850 | 2850 | float move_x, move_y, move_z; |
| 2851 | 2851 | myHuman->GetMovePos(&move_x, &move_y, &move_z); |
| 2852 | 2852 |