mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 13:55:43 +00:00
fixed scr_error when using pred
This commit is contained in:
parent
7a9045741a
commit
e1b4c2d5be
@ -738,7 +738,7 @@ target()
|
|||||||
|
|
||||||
if (usingRemote)
|
if (usingRemote)
|
||||||
{
|
{
|
||||||
if ( level.ac130player == self )
|
if ( isDefined(level.ac130player) && level.ac130player == self )
|
||||||
vehEnt = level.ac130.planeModel;
|
vehEnt = level.ac130.planeModel;
|
||||||
if ( isDefined(level.chopper) && isDefined(level.chopper.gunner) && level.chopper.gunner == self )
|
if ( isDefined(level.chopper) && isDefined(level.chopper.gunner) && level.chopper.gunner == self )
|
||||||
vehEnt = level.chopper;
|
vehEnt = level.chopper;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user