AcceptEntityInput 64bit fix (#2149)
* Fix AcceptEntityInput on 64 bit by using struct from SDK instead of pointer math. * Fix from Malifox. Not sure what it does but it is supposedly related to the AcceptEntityInput crash. * Fix episode1 and darkm sdk paths
This commit is contained in:
@@ -725,7 +725,7 @@ inline void Write_PushObject(JitWriter *jit, const SourceHook::PassInfo *info, u
|
||||
ObjectClass classes[MAX_CLASSES];
|
||||
int numWords = ClassifyObject(smInfo, classes);
|
||||
|
||||
if (classes[0] == ObjectClass::Pointer)
|
||||
if (classes[0] == ObjectClass::Pointer || classes[0] == ObjectClass::Memory)
|
||||
goto push_byref;
|
||||
|
||||
int neededIntRegs = 0;
|
||||
|
||||
Reference in New Issue
Block a user