Search found 106 matches
- Sun Nov 07, 2010 9:18 am
- Forum: QuakeC Programming
- Topic: This code should work, right?
- Replies: 29
- Views: 3978
How come no-one notices some logical mistakes here. (or rather want to point them out) ftfy void () mystery_box = { local float r; r = random(); if (r < 0.9) self.items = self.items | IT_LIGHTNING; else if (r < 0.8) self.items = self.items | IT_SUPER_NAILGUN; else if (r < 0.7) self.items = self.item...