Make sure there is a texture assigned before you change the flags...


xXxGuitar511
- Programmer