Oh so it crashes my program?.... no thanksQuote:
Segmentation fault (core dumped)
edit: Thanks lazer that clears things up. I was confused thinking she was refering to my get function....hence the comment above
so use the vector.at(index)
I just tested that and it terminates the program as well. I'd rather just use my internal error check and know the program will continue running and maybe a wall just won't be textured rather than the entire game shuts down over a peice of corrupt data. Is an internal range check really costing me that much in overhead?