mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Fix some compiler complaints about A_Boss5FindWaypoint
This commit is contained in:
parent
3362a0672b
commit
a431cb9cdd
1 changed files with 4 additions and 2 deletions
|
|
@ -15,6 +15,7 @@
|
||||||
#include "doomdef.h"
|
#include "doomdef.h"
|
||||||
#include "g_game.h"
|
#include "g_game.h"
|
||||||
#include "p_local.h"
|
#include "p_local.h"
|
||||||
|
#include "p_setup.h"
|
||||||
#include "r_main.h"
|
#include "r_main.h"
|
||||||
#include "r_state.h"
|
#include "r_state.h"
|
||||||
#include "s_sound.h"
|
#include "s_sound.h"
|
||||||
|
|
@ -22,6 +23,7 @@
|
||||||
#include "m_misc.h"
|
#include "m_misc.h"
|
||||||
#include "r_things.h"
|
#include "r_things.h"
|
||||||
#include "i_video.h"
|
#include "i_video.h"
|
||||||
|
#include "z_zone.h"
|
||||||
#include "lua_hook.h"
|
#include "lua_hook.h"
|
||||||
|
|
||||||
#ifdef HW3SOUND
|
#ifdef HW3SOUND
|
||||||
|
|
@ -11876,13 +11878,13 @@ void A_Boss5FindWaypoint(mobj_t *actor)
|
||||||
INT32 locvar1 = var1;
|
INT32 locvar1 = var1;
|
||||||
//INT32 locvar2 = var2;
|
//INT32 locvar2 = var2;
|
||||||
boolean avoidcenter;
|
boolean avoidcenter;
|
||||||
INT32 i;
|
UINT32 i;
|
||||||
#ifdef HAVE_BLUA
|
#ifdef HAVE_BLUA
|
||||||
if (LUA_CallAction("A_Boss5FindWaypoint", actor))
|
if (LUA_CallAction("A_Boss5FindWaypoint", actor))
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
avoidcenter = !actor->tracer || (mobj->health == mobj->info->damage+1);
|
avoidcenter = !actor->tracer || (actor->health == actor->info->damage+1);
|
||||||
|
|
||||||
if (locvar1 == 2) // look for the boss waypoint
|
if (locvar1 == 2) // look for the boss waypoint
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue