- Removed unnecessary 'id' variable from AActor.
- Removed unused 'backpack' variable from player_t. - Removed duplicate code from b_move.cpp. - General cleanup.
This commit is contained in:
parent
0f19356e24
commit
5de6b535ae
9 changed files with 20 additions and 43 deletions
|
|
@ -1025,7 +1025,7 @@ void AInventory::Touch (AActor *toucher)
|
|||
for (int i = 0; i < MAXPLAYERS; i++)
|
||||
{
|
||||
if (playeringame[i] && this == players[i].dest)
|
||||
players[i].dest = NULL;
|
||||
players[i].dest = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue