- fixed inappropriate type for FloatBobPhase property.

SVN r4299 (trunk)
This commit is contained in:
Christoph Oelckers 2013-05-30 21:10:54 +00:00
parent dbf68e3f2c
commit ad12be4877

View file

@ -629,7 +629,7 @@ DEFINE_PROPERTY(scale, F, Actor)
//========================================================================== //==========================================================================
DEFINE_PROPERTY(floatbobphase, F, Actor) DEFINE_PROPERTY(floatbobphase, F, Actor)
{ {
PROP_FIXED_PARM(id, 0); PROP_INT_PARM(id, 0);
if (id < -1 || id >= 64) I_Error ("FloatBobPhase must be in range [-1,63]"); if (id < -1 || id >= 64) I_Error ("FloatBobPhase must be in range [-1,63]");
defaults->FloatBobPhase = id; defaults->FloatBobPhase = id;
} }