diff options
Diffstat (limited to 'apps/graphics/traveler/src/trv_doors.c')
-rwxr-xr-x | apps/graphics/traveler/src/trv_doors.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/graphics/traveler/src/trv_doors.c b/apps/graphics/traveler/src/trv_doors.c index 7ae726ba7..75a11c538 100755 --- a/apps/graphics/traveler/src/trv_doors.c +++ b/apps/graphics/traveler/src/trv_doors.c @@ -124,8 +124,8 @@ static void trv_door_startopen (void) /* Test if there is a door within three steps in front of the player */ /* Try the X planes first */ - rect = trv_test_xplane(&g_trv_player, 3*STEP_DISTANCE, - g_trv_player.yaw, g_player_height); + rect = trv_ray_test_xplane(&g_trv_player, 3*STEP_DISTANCE, + g_trv_player.yaw, g_player_height); /* If there is no X door in front of the player, then try the Y Planes * (it is assumed that there would not be doors this close in both @@ -134,8 +134,8 @@ static void trv_door_startopen (void) if (!rect || !IS_DOOR(rect)) { - rect = trv_test_yplane(&g_trv_player, 3*STEP_DISTANCE, - g_trv_player.yaw, g_player_height); + rect = trv_ray_test_yplane(&g_trv_player, 3*STEP_DISTANCE, + g_trv_player.yaw, g_player_height); } /* Check if we found a door in either the X or Y plane. */ |