* fixed some crashes which happened, when there were to many enemies on screen.

* imporoved tile reading for some mods


git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@188 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
gerstrong
2009-07-27 17:54:06 +00:00
parent 219b287899
commit f0aea07261
3 changed files with 12 additions and 5 deletions

View File

@@ -21,6 +21,7 @@
#include "vorticon/CPlayer.h"
#include "vorticon/CHighScores.h"
#include "hqp/CHQBitmap.h"
#include "CLogFile.h"
char otherplayer;
// TODO: seperate status boxes for the different players
@@ -655,10 +656,8 @@ int i;
}
}
// object could not be created
crashflag = 1;
crashflag2 = otype;
crashflag3 = 0;
why_term_ptr = "Object could not be created.";
g_pLogFile->textOut(PURPLE, "Warning : Object could not be created.");
return 0;
}