This website requires JavaScript.
Explore
Help
Sign in
yquake2
/
xatrix
Watch
0
Star
0
Fork
You've already forked xatrix
0
mirror of
https://github.com/yquake2/xatrix.git
synced
2024-11-10 06:42:22 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
master
xatrix
/
.gitignore
2 lines
17 B
Text
Raw
Permalink
Normal View
History
Unescape
Escape
Fix bug with high velocities in vents in 32bit builds, fix MingW build See https://github.com/yquake2/yquake2/issues/71 and Xatrix #4 In ClientThink(), the float value ent->velocity[i]*8 is saved into a short and if the value is too big for a short, in 32bit gcc builds the short is set to SHRT_MIN, resulting in the player being pressed down instead of up. Now we put the result in a 32bit int first (which should be big enough) and assign the int to the short. This still overflows, but with -fwrapv at least in a defined way (most probably the same way the original binaries did). The Makefile now sets $CC to gcc for MingW builds, this should fix #3 And while I was at it, when the game lib is loaded, it prints the date it was built, this is especially interesting for our Win32 binaries.
2015-05-17 16:42:56 +00:00
/build/
Makefile fix for Windows and gitignore now ignores the release folder
2019-09-14 10:50:56 +00:00
/release/
Reference in a new issue
Copy permalink