.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...
|Weapons bug added to v1.07 code||Post Reply|
numbersix quake-c coder++
|Dec 10 2017 Anchor|
This bug was added to my v1.07 qc++ code with PK3 rc1: Moddb.com
If you already have, say a rocket launcher, and you touch another there is no sound.
The else - remove(stemp); is supposed to happen if the classname test fails.
Now the viswep check new and load happens after all the classname testing.
How did it get like this?
I decided first the hipnotic weapons and ammo would use the x_touch function.
Then I decided to #ifdef all the extra hip stuff in the v1.06 code. Like this sample.
Then when the hipnotic block of code goes away, if vchk false runs the remove code erroneously.
Edited by: numbersix
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.