Debriefing > Fixed\Known Bugs
[UNCONFIRMED] #1 with the Bullet
VC:
Pointer/reference status has nothing to do with it. If the value is a constant throughout the context of the variable, it should be marked as such.
And FindAward damn well better be taking the value as a const, because otherwise you're calling FindAward two separate times using a variable as an argument that you are relying on to be constant but never made constant and gave to a function that didn't necessarily agree to keep it constant. (Because the compiler would throw if you fed a const to a function that doesn't agree to const in its signature.) All you need is for that signature to be int&...
Learn to code, bro. Keep this up and something weird will happen, like, I don't know, players who join a match late will be given PP7 as a favorite weapon when there was no PP7 in the loadout.
drukqaddik:
ive had that happen actually. been awarded fav wep rcp with slappers
Sp1nn3y:
--- Quote from: drukqaddik on February 18, 2009, 06:39:05 am ---ive had that happen actually. been awarded fav wep rcp with slappers
--- End quote ---
yeah.. i have played in a pistols only ltk and my favorite weapon was RCP90... gg...
coolDisguise:
Well, I didn't doubt it works sometimes, but unfortunately not for me yet.
So now that we found a possible source of errors I'm curious if it would work when patch 3.1 will be released - but I'm sure you guys can do that. :-)
Thank you again.
killermonkey:
lol there is no source of error, don't listen to VC he is causing trouble for no reason
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version