.qc (dot qc) - the group for quake c coders of all denominations. If you make quake one mods and write code in quake c, join our group! I'll try to answer any quake c questions - please post your inquiry in the forums...

Forum Thread
  Posts  
DeathBubblesSpawn bug (Groups : qc : Forum : hard_code() : DeathBubblesSpawn bug) Locked
Thread Options
numbersix
numbersix quake-c coder++
Nov 28 2013 Anchor

The original quake-c (v1.06) has a bug in DeathBubblesSpawn that leaves spawner ents behind.
This code is found in player.qc:

void() DeathBubblesSpawn =
{
local entity bubble;

if (self.owner.waterlevel != 3)
{
// new code - add a remove here, or the spawner stays on the server forever or until reload
remove(self); // v1.09 bug fx - previous logic left bubble spawners around
// end new code
return;
}

// rest of code
};

Edited by: numbersix

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.