Hmmm....I've just taken a look at the code.....
I've found the code is quite different from the C/C++ I recognized
Maybe it's too l33t for beginners like me to read.
So my suggestion is: do NOT use those names of variables like this...
pWPAMPlay, STMem.f_NUpdate, FFE...and so on,
Also don't write strange code like this....
Code:
// process log of weapon with which the bot has been killed
for(ischl = 0;ischl < _MAXLKW;ischl++){
if(FLKW[ischl] != -1){
if(IsSniperWeapon(1<<FLKW[ischl])){
lKSniper ++;
}
if(IsShotgunWeapon(1<<FLKW[ischl])){
lKShot ++;
}
if(IsSubMWeapon(1<<FLKW[ischl])){
lKSub ++;
}
}
}
lKSniper>lKSub&&lKSniper>lKShot?
bKSniper=true:lKSub>lKSniper&&lKSub>lKShot?
bKSub=true:lKShot>lKSniper&&lKShot>lKSub?
bKShot=true:0==0;