Amend r4318: Lunatic doesn't need the safety check.

git-svn-id: https://svn.eduke32.com/eduke32@4328 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2014-02-12 21:02:59 +00:00
parent faa8133cda
commit 23ecf8cce0
2 changed files with 1 additions and 2 deletions

View file

@ -140,7 +140,6 @@ USE_OPENGL = 1
NOASM = 0
LINKED_GTK = 0
BUILD32_ON_64 ?= 0
# DO NOT SET THIS TO 1 AND COMMIT IT.
USE_LIBPNG ?= 1
USE_LIBVPX ?= 1
NETCODE ?= 1

View file

@ -164,7 +164,7 @@ static inline int32_t G_HaveActor(int32_t actortile)
static inline int32_t G_InitialActorStrength(int32_t actortile)
{
#ifdef LUNATIC
return G_HaveActor(actortile) ? g_elActors[actortile].strength : 0;
return g_elActors[actortile].strength;
#else
return G_HaveActor(actortile) ? g_tile[actortile].execPtr[0] : 0;
#endif