From 627d814f487ac38d4f9b9b71da9bef46f33b3dad Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 11 Oct 2015 22:04:05 +0800 Subject: Implement the collision system and a simple effect. Fixed a problem that keeps the screen black on start up. Replace the build script in dtputil with makefile. Sync with the newest SMELT revision. --- src/master/intro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/master') diff --git a/src/master/intro.cpp b/src/master/intro.cpp index f8cf46b..1e45ddb 100644 --- a/src/master/intro.cpp +++ b/src/master/intro.cpp @@ -182,7 +182,7 @@ introScene::introScene() sm=smGetInterface(SMELT_APILEVEL); pos=new smvec2d[1024];vel=new smvec2d[1024]; scale=new float[1024];acc=new smvec2d[1024]; - extern const char* bsnames[]; + extern const char* bsnames[];delay=0; smTexInfo *ti=ssanm.getTextureInfo(bsnames[rand()%8]); blt=new smEntity2D(ti->tex,ti->rect); blt->setCentre(12,12); -- cgit v1.2.3