mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 20:40:47 +00:00
- Duke: Fix give
CCMD to ensure it works after being resurrected from the dead via god cheat.
* Extension to 63cb7dd2bd
.
This commit is contained in:
parent
f46d9499a5
commit
be21cb0602
1 changed files with 1 additions and 1 deletions
|
@ -469,7 +469,7 @@ static void cmd_Give(int player, uint8_t** stream, bool skip)
|
|||
int type = ReadByte(stream);
|
||||
if (skip) return;
|
||||
|
||||
if (numplayers != 1 || gamestate != GS_LEVEL || ps[player].dead_flag != 0)
|
||||
if (numplayers != 1 || gamestate != GS_LEVEL || sprite[ps[player].i].extra <= 0)
|
||||
{
|
||||
Printf("give: Cannot give while dead or not in a single-player game.\n");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue