Because I know next to nothing of C++ :)
I'm assuming by your question that 'int&' is the equivalent of 'ref int' in
c#


On Wed, Jun 5, 2013 at 6:46 PM, ethankaminski <notifications@github.com>wrote:

> In newcharacter.cpp:
>
> >
> >  #define NEWCHAR_TAB_MAX 4 // The ID of the rightmost tab
> >
> >  void draw_tabs(WINDOW* w, std::string sTab);
> >
> >  int set_stats(WINDOW* w, game* g, player *u, int &points);
> > -int set_traits(WINDOW* w, game* g, player *u, int &points);
> > +int set_traits(WINDOW* w, game* g, player *u, int &points, int &max_trait_points);
>
> Why is max_trait_points being declared as int&, when it's not being
> modified inside the function?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/CleverRaven/Cataclysm-DDA/pull/1411/files#r4558772>
> .
>