- 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:
ChillyDoom 2014-10-13 08:45:36 +01:00
commit 5de6b535ae
9 changed files with 20 additions and 43 deletions

View file

@ -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;
}
}