Switch do_cockpit_window_view to vobjptr_t

Only the wake_up_rendered_objects hack needed a vobjptridx_t.  Switch to
vobjptr_t.
This commit is contained in:
Kp 2015-05-13 03:20:28 +00:00
parent 5810faf33d
commit ac3b1d6aa3
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@ constexpr rgb_array_wrapper player_rgb{};
// window user is one of the WBU_ constants. If rear_view_flag is
// set, show a rear view. If label is non-NULL, print the label at
// the top of the window.
void do_cockpit_window_view(int win, vobjptridx_t viewer, int rear_view_flag, int user, const char *label);
void do_cockpit_window_view(int win, vobjptr_t viewer, int rear_view_flag, int user, const char *label);
void do_cockpit_window_view(int win, int user);
#endif

View file

@ -3272,7 +3272,7 @@ void do_cockpit_window_view(int win,int user)
}
}
void do_cockpit_window_view(int win,const vobjptridx_t viewer,int rear_view_flag,int user,const char *label)
void do_cockpit_window_view(int win,const vobjptr_t viewer,int rear_view_flag,int user,const char *label)
{
grs_canvas window_canv;
static grs_canvas overlap_canv;