- Fixed GCC/Clang compile errors.

This commit is contained in:
Edoardo Prezioso 2017-01-13 14:51:31 +01:00 committed by Christoph Oelckers
parent d338ca3ec1
commit 6eb9015303
2 changed files with 2 additions and 1 deletions

View file

@ -28,6 +28,7 @@
#include "p_lnspec.h" #include "p_lnspec.h"
#include "p_local.h" #include "p_local.h"
#include "a_sharedglobal.h" #include "a_sharedglobal.h"
#include "g_levellocals.h"
#include "r_sky.h" #include "r_sky.h"
#include "p_effect.h" #include "p_effect.h"
#include "po_man.h" #include "po_man.h"

View file

@ -1464,7 +1464,7 @@ DEFINE_ACTION_FUNCTION(_Sector, NextLowestFloorAt)
IFVIRTUALPTRNAME(act, "SectorAction", TriggerAction) IFVIRTUALPTRNAME(act, "SectorAction", TriggerAction)
{ {
VMValue params[3] = { act, thing, activation }; VMValue params[3] = { (DObject *)act, thing, activation };
VMReturn ret; VMReturn ret;
int didit; int didit;
ret.IntAt(&didit); ret.IntAt(&didit);