mirror of
https://github.com/UberGames/rpgxEF.git
synced 2024-11-10 07:11:34 +00:00
Fixed bug FS#48
Fixed buf FS#48 where using /drop while beeing dead resulted in a crash.
This commit is contained in:
parent
1c7ed5bde0
commit
791a9cf238
1 changed files with 1 additions and 1 deletions
|
@ -1817,7 +1817,7 @@ void ThrowWeapon( gentity_t *ent, char *txt )
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ps->weapon == WP_1 || ( ucmd->buttons & BUTTON_ATTACK )) {
|
if ( ps->weapon == WP_0 || ps->weapon == WP_1 || ( ucmd->buttons & BUTTON_ATTACK )) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue