- Fixed: DCajunMaster::End was missing a write barrier for getspawned. The
same problem in D_DoomMain. - Made bglobal a pointer because it was causing problems with the garbage collector. SVN r859 (trunk)
This commit is contained in:
parent
39940fe20a
commit
997533e0c8
22 changed files with 131 additions and 97 deletions
|
|
@ -230,7 +230,7 @@ static void CopyPlayer (player_t *dst, player_t *src, const char *name)
|
|||
|
||||
if (dst->isbot)
|
||||
{
|
||||
botinfo_t *thebot = bglobal.botinfo;
|
||||
botinfo_t *thebot = bglobal->botinfo;
|
||||
while (thebot && stricmp (name, thebot->name))
|
||||
{
|
||||
thebot = thebot->next;
|
||||
|
|
@ -239,8 +239,8 @@ static void CopyPlayer (player_t *dst, player_t *src, const char *name)
|
|||
{
|
||||
thebot->inuse = true;
|
||||
}
|
||||
bglobal.botnum++;
|
||||
bglobal.botingame[dst - players] = true;
|
||||
bglobal->botnum++;
|
||||
bglobal->botingame[dst - players] = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue