Game Development Community

Bug with alListener3f()

by Game Maker 2 · in Torque Game Engine · 02/03/2005 (5:26 am) · 1 replies

I belive there is a bug with the ConsoleMethod alListener3f() on the line 423.


if(argc != 3 || argc != 5) <-- Here!
{
Con::errorf(ConsoleLogEntry::General, "alListener3f: wrong number of arguments");
return;
}

Shouldn't OR be changed to AND? (|| to &&)

#1
02/03/2005 (5:41 am)
Thinking more, i think an and would be appropriate.