mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-09-02 09:47:26 +00:00
fixed scr_error when using pred
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user