mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-23 03:12:38 +00:00
Fix some compiler complaints about A_Boss5FindWaypoint
This commit is contained in:
parent
b205602db6
commit
445709037d
1 changed files with 4 additions and 2 deletions
|
@ -15,6 +15,7 @@
|
|||
#include "doomdef.h"
|
||||
#include "g_game.h"
|
||||
#include "p_local.h"
|
||||
#include "p_setup.h"
|
||||
#include "r_main.h"
|
||||
#include "r_state.h"
|
||||
#include "s_sound.h"
|
||||
|
@ -22,6 +23,7 @@
|
|||
#include "m_misc.h"
|
||||
#include "r_things.h"
|
||||
#include "i_video.h"
|
||||
#include "z_zone.h"
|
||||
#include "lua_hook.h"
|
||||
|
||||
#ifdef HW3SOUND
|
||||
|
@ -11876,13 +11878,13 @@ void A_Boss5FindWaypoint(mobj_t *actor)
|
|||
INT32 locvar1 = var1;
|
||||
//INT32 locvar2 = var2;
|
||||
boolean avoidcenter;
|
||||
INT32 i;
|
||||
UINT32 i;
|
||||
#ifdef HAVE_BLUA
|
||||
if (LUA_CallAction("A_Boss5FindWaypoint", actor))
|
||||
return;
|
||||
#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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue