Commit 71675225 authored by zmoelnig's avatar zmoelnig
Browse files

changed (bool) to (int), since vc6 doesn't like assigning a boolean-value to an integer.


git-svn-id: https://pd-gem.svn.sourceforge.net/svnroot/pd-gem/trunk/Gem@677 49b2a0ca-c541-4d49-a7ef-d785e4371512
parent 9c821bd7
......@@ -494,27 +494,27 @@ void camera :: reverseMessCallback(void *data, t_floatarg val)
}
void camera :: leftMessCallback(void *data, t_floatarg val)
{
GetMyClass(data)->left=(bool)val;
GetMyClass(data)->left=(int)val;
}
void camera :: rightMessCallback(void *data, t_floatarg val)
{
GetMyClass(data)->right=(bool)val;
GetMyClass(data)->right=(int)val;
}
void camera :: slideLeftMessCallback(void *data, t_floatarg val)
{
GetMyClass(data)->slideLeft=(bool)val;
GetMyClass(data)->slideLeft=(int)val;
}
void camera :: slideRightMessCallback(void *data, t_floatarg val)
{
GetMyClass(data)->slideRight=(bool)val;
GetMyClass(data)->slideRight=(int)val;
}
void camera :: upMessCallback(void *data, t_floatarg val)
{
GetMyClass(data)->up=(bool)val;
GetMyClass(data)->up=(int)val;
}
void camera :: downMessCallback(void *data, t_floatarg val)
{
GetMyClass(data)->down=(bool)val;
GetMyClass(data)->down=(int)val;
}
void camera :: resetMessCallback(void *data)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment