Skip to content

Commit

Permalink
Fixed some player_t variables not initializing properly
Browse files Browse the repository at this point in the history
  • Loading branch information
IgeNiaI committed Mar 1, 2021
1 parent 2e82cc7 commit c51f078
Show file tree
Hide file tree
Showing 2 changed files with 249 additions and 235 deletions.
21 changes: 0 additions & 21 deletions src/d_player.h
Original file line number Diff line number Diff line change
Expand Up @@ -618,24 +618,6 @@ class player_t

FName LastDamageType; // [RH] For damage-specific pain and death sounds

/* [BB] ST doesn't use this.
//Added by MC:
angle_t savedyaw;
int savedpitch;
angle_t angle; // The wanted angle that the bot try to get every tic.
// (used to get a smoth view movement)
TObjPtr<AActor> dest; // Move Destination.
TObjPtr<AActor> prev; // Previous move destination.
TObjPtr<AActor> enemy; // The dead meat.
TObjPtr<AActor> missile; // A threatening missile that needs to be avoided.
TObjPtr<AActor> mate; // Friend (used for grouping in teamplay or coop).
TObjPtr<AActor> last_mate; // If bots mate disappeared (not if died) that mate is
// pointed to by this. Allows bot to roam to it if
// necessary.
*/
bool settings_controller; // Player can control game settings.

float BlendR; // [RH] Final blending values
Expand Down Expand Up @@ -762,9 +744,6 @@ class player_t
// [BB] Over how many measurements has ulPing been averaged?
ULONG ulPingAverages;

// Last tick this player received a packet.
// ULONG ulLastTick;

// Is this player ready for the next map? (intermission)
bool bReadyToGoOn;

Expand Down
Loading

0 comments on commit c51f078

Please sign in to comment.