aboutsummaryrefslogtreecommitdiff
path: root/hgeft.cpp
diff options
context:
space:
mode:
authorGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-05-09 12:15:44 +0000
committerGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-05-09 12:15:44 +0000
commit3eee64398bdfde684199873793febadbd6fa4a19 (patch)
treeec32b6c263dd03edc0c7767f690087e2109a8631 /hgeft.cpp
parent3a51283329635021b839c8abbea4fac6bd7fe688 (diff)
downloadbullet-lab-remix-3eee64398bdfde684199873793febadbd6fa4a19.tar.xz
Fix a bug in the credit scene.
Now the pause menu shouldn't be broken now...(It's so hard to reproduce that I have to assume it *has* been fixed.(IT STILL HAPPENS!!!) Close the "infinity CLR" "bug". (Huge) Code cleanup, mainly removing duplicate code. Allocate bullets dynamically. The array is freed every time a new game is started. Add a signal handler, print back trace on error(currently only available for linux...).
Diffstat (limited to 'hgeft.cpp')
-rw-r--r--hgeft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hgeft.cpp b/hgeft.cpp
index a5b233a..ec4e7bc 100644
--- a/hgeft.cpp
+++ b/hgeft.cpp
@@ -1,7 +1,7 @@
// Freetype2 ext4hge implementations -*- C++ -*-
#include "hgeft.h"
static const char* HGEFT_SRC_FN="hgeft.cpp";
-void hgeTTChar::Free(){if(quad.tex)hge->Texture_Free(quad.tex),quad.tex=0;}
+void hgeTTChar::Free(){if(quad.tex)hge->Texture_Free(quad.tex),quad.tex=NULL;}
bool hgeTTChar::SetChar(wchar_t ch,FT_Face ttfface)
{
FT_GlyphSlot slot=ttfface->glyph;