mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-27 07:51:36 +00:00
Bot Hints use args
This commit is contained in:
parent
0614a8739c
commit
779aade139
2 changed files with 2 additions and 1 deletions
|
|
@ -12569,7 +12569,7 @@ static boolean P_SetupSpawnedMapThing(mapthing_t *mthing, mobj_t *mobj, boolean
|
|||
}
|
||||
|
||||
// Steer away instead of towards
|
||||
if (mthing->options & MTF_AMBUSH)
|
||||
if (mthing->args[2])
|
||||
{
|
||||
mobj->extravalue1 = 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6549,6 +6549,7 @@ static void P_ConvertBinaryThingTypes(void)
|
|||
case 2004: // MT_BOTHINT
|
||||
mapthings[i].args[0] = mapthings[i].angle;
|
||||
mapthings[i].args[1] = mapthings[i].extrainfo;
|
||||
mapthings[i].args[2] = !!(mapthings[i].options & MTF_AMBUSH);
|
||||
break;
|
||||
case 2010: // MT_ITEMCAPSULE
|
||||
mapthings[i].args[0] = mapthings[i].angle;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue