Skip to content

act_wiz.c: update do_sockets to translate minutes/hours in online time #65

@gastamper

Description

@gastamper

Enhancement due to change in #64, currently time online is always shown in minutes without a unit; should add logic to append 'm' or 'h' as appropriate.

#define MINUTES_PLAYED(ch) (((current_time - (ch)->logon) / 60))

(!who ? (long)0 : MINUTES_PLAYED(who)), d->host);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions