| # | Line 98 | Line 98 | void ONICALL DDrWeapon2Message(int* weap | |
|---|---|---|
| 98 | float ratio = (float)ammo / (float)maxammo; | |
| 99 | ||
| 100 | char ammocolor; | |
| 101 | + | |
| 102 | if (ratio >= .9) ammocolor = 'g'; | |
| 103 | else if (ratio >= .5) ammocolor = 'y'; | |
| 104 | else if (ratio >= .2) ammocolor = 'o'; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |