mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-24 16:01:00 +00:00
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 |
||
---|---|---|
.. | ||
Apple | ||
build | ||
eobj | ||
eobj_win | ||
installer | ||
obj | ||
obj_win | ||
psd | ||
rsrc | ||
samples | ||
source | ||
Wii | ||
Windows | ||
backtrace.dll | ||
buildlic.txt | ||
ChangeLog | ||
ChangeLog.html | ||
eduke32.sln | ||
eduke32.vcproj | ||
eduke32.vcxproj | ||
eduke32.vcxproj.filters | ||
eduke32.vcxproj.user | ||
GNU.TXT | ||
libiconv2.dll | ||
libintl3.dll | ||
m32help.hlp | ||
MakeDistributions | ||
Makefile | ||
Makefile.common | ||
Makefile.deps | ||
Makefile.msvc | ||
names.h | ||
nedmalloc.dll | ||
osxbuild.sh | ||
SEHELP.HLP | ||
STHELP.HLP | ||
tiles.cfg | ||
wiibuild.bat |