- fixed: non-damaging attacks should not cause infighting, unless some relevant pain flags are being set.
This commit is contained in:
parent
89b7cf4262
commit
2ce55e5416
2 changed files with 2 additions and 2 deletions
|
|
@ -1573,7 +1573,7 @@ static bool C_HandleKey (event_t *ev, FCommandBuffer &buffer)
|
|||
static TArray<char> command;
|
||||
const size_t length = buffer.Text.Len();
|
||||
|
||||
command.Resize(length + 1);
|
||||
command.Resize(unsigned(length + 1));
|
||||
memcpy(&command[0], buffer.Text.GetChars(), length);
|
||||
command[length] = '\0';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue