]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/self.qh
Cleanse the touch functions of the other evil
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / self.qh
index ec43a34022592ae86b5c0c26ec23c5005ffcc938..48357fa4083a8f47809f18cb30b39874111f9288 100644 (file)
@@ -66,9 +66,11 @@ SELFWRAP(think, void, (), (entity this), (this))
 #define setthink(e, f) SELFWRAP_SET(think, e, f)
 #define getthink(e) SELFWRAP_GET(think, e)
 
-SELFWRAP(touch, void, (), (entity this), (this))
+#ifndef MENUQC
+SELFWRAP(touch, void, (), (entity this, entity toucher), (this, other))
 #define settouch(e, f) SELFWRAP_SET(touch, e, f)
 #define gettouch(e) SELFWRAP_GET(touch, e)
+#endif
 
 SELFWRAP(blocked, void, (), (entity this), (this))
 #define setblocked(e, f) SELFWRAP_SET(blocked, e, f)