cleanup
- fix possible crash in conc (but it's still an ugly hack) - fix noob usage of strcmp - flag some memory leaks (it would be nice, if the author(s) would clean up the mess himself) - fix crash in substr - whitespace cleanup there are plenty more memory leaks in command.cpp - for example, every goto in cubescript does not clean up anything
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ struct model
|
||||
float alphatest, translucency, scale, radius, shadowdist;
|
||||
vec translate;
|
||||
int cachelimit, batch;
|
||||
|
||||
|
||||
//model() : cullface(true), vertexlight(false), alphatest(0.9f), translucency(0.25f), scale(1), radius(0), shadowdist(0), translate(0, 0, 0), cachelimit(8), batch(-1) {}
|
||||
model() : cullface(true), vertexlight(false), alphablend(false), alphatest(0.9f), translucency(0.25f), scale(1), radius(0), shadowdist(0), translate(0, 0, 0), cachelimit(8), batch(-1) {}
|
||||
virtual ~model() {}
|
||||
|
||||
Reference in New Issue
Block a user