- Fixed: G_NewInit destroyed the players' userinfo data.

- Changed the special radius damage handling for the barrel and boss brain
  into an actor flag.
- Added A_RadiusThrust code pointer for DECORATE and adjusted the radius 
  attack functions accordingly.


SVN r236 (trunk)
This commit is contained in:
Christoph Oelckers 2006-07-02 21:58:10 +00:00
commit 9e6d5c8fd9
10 changed files with 63 additions and 11 deletions

View file

@ -1372,10 +1372,12 @@ void G_NewInit ()
for (i = 0; i < MAXPLAYERS; ++i)
{
player_t *p = &players[i];
userinfo_t saved_ui = players[i].userinfo;
p->~player_t();
::new(p) player_t;
players[i].playerstate = PST_DEAD;
playeringame[i] = 0;
players[i].userinfo = saved_ui;
}
BackupSaveName = "";
consoleplayer = 0;