Minor randomization issue in P_ExplodeMissile

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49224
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Minor randomization issue in P_ExplodeMissile

Post by Graf Zahl »

I have no idea whether this might cause issues but since the MF4_RANDOMIZE flag exists and is being used everywhere else for this it should be used here as well instead of checking for playing Doom:

Code: Select all

		if (gameinfo.gametype == GAME_Doom)

		{
			mo->tics -= (pr_explodemissile() & 3) * TICRATE / 35;
			if (mo->tics < 1)
				mo->tics = 1;
		}
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49224
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

fixed
Post Reply

Return to “Closed Bugs [GZDoom]”