• R/O
  • SSH

zandronum-sandbox-stable: Commit


Commit MetaInfo

Revision33b0a9aaebc5228d6bce4ecd221e51e16fcb21e8 (tree)
Time2010-07-12 02:56:21
AuthorBenjamin Berkels <torr.samaho@quan...>
CommiterBenjamin Berkels

Log Message

Made changes to stop the software wallhack and the aimbot.

SVN r2840 (latestzdoom)

Change Summary

Incremental Difference

diff -r f1d77594c75c -r 33b0a9aaebc5 src/d_protocol.h
--- a/src/d_protocol.h Sun Jul 11 14:35:53 2010 +0000
+++ b/src/d_protocol.h Sun Jul 11 17:56:21 2010 +0000
@@ -67,14 +67,7 @@
6767 struct usercmd_t
6868 {
6969 // [BB] Added unused dummy variables to prevent sthook from working at all.
70- BYTE dummy1;
71- BYTE dummy2;
72- short dummy3;
73- short dummy4;
74- short dummy5;
75- short dummy6;
76- short dummy7;
77- short dummy8;
70+ BYTE dummy[28];
7871 DWORD buttons;
7972 short pitch; // up/down
8073 short yaw; // left/right
diff -r f1d77594c75c -r 33b0a9aaebc5 src/r_defs.h
--- a/src/r_defs.h Sun Jul 11 14:35:53 2010 +0000
+++ b/src/r_defs.h Sun Jul 11 17:56:21 2010 +0000
@@ -1106,6 +1106,8 @@
11061106 // I.e. a sprite object that is partly visible.
11071107 struct vissprite_t
11081108 {
1109+ // [BB] Dummy variable to stop wallhacks.
1110+ BYTE dummy;
11091111 short x1, x2;
11101112 fixed_t cx; // for line side calculation
11111113 fixed_t gx, gy; // for fake floor clipping
Show on old repository browser