Thread: Player Death
View Single Post
  #1  
Old 01-20-2014, 02:55 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Shouldn't need this:
Code:
safe_delete(sep);
The variable is created on the stack and will be destroyed when it goes out of scope. Surprised it doesn't crash. If you don't use new, don't use delete.
Reply With Quote