Fix some natives relying on a known engine bug related to last player's edict being invalid
This commit is contained in:
@@ -44,7 +44,7 @@ void Client_InitObj(void* mValue){
|
||||
mObjects.Clear();
|
||||
break;
|
||||
case 1:
|
||||
mObjects.obj[num].pEdict = INDEXENT(*(int*)mValue);
|
||||
mObjects.obj[num].pEdict = GETEDICT(*(int*)mValue);
|
||||
break;
|
||||
case 2:
|
||||
mObjects.obj[num].index = *(int*)mValue;
|
||||
|
||||
Reference in New Issue
Block a user