by Edward-san » Fri May 31, 2013 11:07 am
... this patch fixes the problem for me:
Code: Select all
Index: src/thingdef/thingdef_properties.cpp
===================================================================
--- src/thingdef/thingdef_properties.cpp (revision 4299)
+++ src/thingdef/thingdef_properties.cpp (working copy)
@@ -627,7 +627,7 @@
//==========================================================================
//
//==========================================================================
-DEFINE_PROPERTY(floatbobphase, F, Actor)
+DEFINE_PROPERTY(floatbobphase, I, Actor)
{
PROP_INT_PARM(id, 0);
if (id < -1 || id >= 64) I_Error ("FloatBobPhase must be in range [-1,63]");
Also, I can't find any documentation in the code on how these properties work...
... this patch fixes the problem for me:
[code]
Index: src/thingdef/thingdef_properties.cpp
===================================================================
--- src/thingdef/thingdef_properties.cpp (revision 4299)
+++ src/thingdef/thingdef_properties.cpp (working copy)
@@ -627,7 +627,7 @@
//==========================================================================
//
//==========================================================================
-DEFINE_PROPERTY(floatbobphase, F, Actor)
+DEFINE_PROPERTY(floatbobphase, I, Actor)
{
PROP_INT_PARM(id, 0);
if (id < -1 || id >= 64) I_Error ("FloatBobPhase must be in range [-1,63]");
[/code]
Also, I can't find any documentation in the code on how these properties work...