easter egg Tank Commander 'lock-up' bug - code here

Nick Warne nick at linicks.net
Mon Aug 30 14:34:44 EDT 2004


Looks like quakesrc is down again - this happens days at a time.

Here is the code fix... look for // Nick -> two little lines at the end :)

http://www.nick.ukfsn.org/boss2_railgun_loop_fix/g_weapon.c_firerail.txt

Nick


----------  Forwarded Message  ----------

Subject: easter egg Tank Commander 'lock-up' bug.
Date: Monday 30 August 2004 16:22
From: Nick Warne <nick at linicks.net>
To: quake2 at icculus.org

Hello all,

I reckon I have found the fix as to why shooting the tank commander in the
boss2 easter egg with railgun causes quake2 game to lock-up.  In fact it
doesn't, it just gets stuck in that while (ignore) loop here ever after.

The code is indeed /game/g_weapon.c -> fire_rail ()

Full explanation and code here:

http://forums.quakesrc.org/viewtopic.php?t=4029

I confirm this fixes the problem, and the logic seems right - but I am
 unaware (and can't see how to test) what happens in all the variations
 during the rest of the game.

Nick

--
"When you're chewing on life's gristle,
Don't grumble, Give a whistle..."

-------------------------------------------------------

-- 
"When you're chewing on life's gristle,
Don't grumble, Give a whistle..."



More information about the quake2 mailing list