Fixed an assignment that should have been a test

This commit is contained in:
Don BURNS 2002-04-19 16:00:15 +00:00
parent 4624514924
commit c5f26d78f6

View File

@ -392,7 +392,7 @@ void* billboardRead::Parse(trpgToken /*tok*/,trpgReadBuffer &buf)
Billboard* bl = new Billboard();
int m;
bill.GetMode(m);
if( m = trpgBillboard::Eye)
if( m == trpgBillboard::Eye)
bl->setMode(Billboard::POINT_ROT_EYE);
else if(m == trpgBillboard::World )
bl->setMode(Billboard::POINT_ROT_WORLD);