[odamex-bug-reporter] [Bug 633] Ghost Barrels (Desync)

  • From: odamex-bugtracker@xxxxxxxxxx
  • To: odamex-bug-reporter@xxxxxxxxxxxxx
  • Date: Sun, 14 Aug 2011 16:41:38 +0000

http://odamex.net/bugs/show_bug.cgi?id=633

Dr. Sean <grandpachuck187@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grandpachuck187@xxxxxxxxx

--- Comment #2 from Dr. Sean <grandpachuck187@xxxxxxxxx> 2011-08-14 16:41:38 
UTC ---
This bug is due to a number of flaws in P_SpawnMapThing.  Only the barrels that
have their map flags set to not be spawned in skill level 1 would become ghost
barrels.

A bug in P_SpawnMapThing would check a mapthing's flags for MF_SPECIAL and not
spawn the mapthing client-side if the flag was set.  The problem is that the
code checks for a mapthing's flags, not a mobj's flags and and those flags are
not compatible.  The code ends up really checking that a mapthing's flags are
set to be present in skill level 1 and letting the client spawn a mapthing if
its skill 1 flag is not set.

Ultimately, the client shouldn't be spawning mapthings at all in a multiplayer
game.  r2348 fixes this bug.  Please test and verify.

-- 
Configure bugmail: http://odamex.net/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Other related posts: