mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
No description
a19dcdc48e
The story: Duke3D 1.5 source had "short frags[MAXPLAYERS][MAXPLAYERS]" and "clearbufbyte(&frags[0][0],(MAXPLAYERS*MAXPLAYERS)<<1,0L);". In r1625, g_player[].frags[MAXPLAYERS] was changed from an array of int32_t to one of uint8_t, but the clearing code ("clearbufbyte(&g_player[i].frags[0],MAXPLAYERS<<1,0L);") stayed. In r2201, I rewrote clearfrags() under the assumption that it really is supposed to clear stuff beyond .frags[]. The moral: 1. Write clean code. 2. Use sizeof. 3. Write clean code! git-svn-id: https://svn.eduke32.com/eduke32@2878 1a8010ca-5511-0410-912e-c29ae57300e0 |
||
---|---|---|
polymer | ||
polymer-perf | ||
.gitignore |