Skip to content

Commit

Permalink
consistency with player_activity constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Goredell committed Feb 13, 2025
1 parent 089f2ac commit 60aa333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/character.h
Original file line number Diff line number Diff line change
Expand Up @@ -1720,7 +1720,7 @@ class Character : public Creature, public location_visitable<Character>
* the new activity_actor class and may cause issues with resuming.
* TODO: delete this once migration of activites to the activity_actor system is complete
*/
void assign_activity( const activity_id &type, int moves = calendar::INDEFINITELY_LONG,
void assign_activity( const activity_id &type, int moves = 0,
int index = -1, int pos = INT_MIN,
const std::string &name = "" );
/** Assigns activity to player, possibly resuming old activity if it's similar enough. */
Expand Down

0 comments on commit 60aa333

Please sign in to comment.