Skip to content

[question] weapon both int and byte at the same time? #337

@illwieckz

Description

@illwieckz

Is it a bug that here weapon is an int:

int weapon; // copied to entityState_t->weapon

but here it's a byte:

byte weapon;

and it seems to be copied with an 8 length here:

to->weapon = MSG_ReadDelta( msg, from->weapon, 8 );

and here:

MSG_WriteDelta( msg, from->weapon, to->weapon, 8 );

or do I miss something?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions