git-svn-id: https://svn.eduke32.com/eduke32@1202 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2009-01-06 00:00:11 +00:00
parent 68ab9ebeaa
commit 94d1fc6bfe
2 changed files with 5 additions and 3 deletions

View file

@ -44,7 +44,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <shellapi.h>
#endif
#define BUILDDATE " 20090104"
#define BUILDDATE " 20090105"
#define VERSION " 1.2.0devel"
static int floor_over_floor;

View file

@ -1803,7 +1803,9 @@ static int C_GetNextValue(int type)
static int C_CheckEmptyBranch(int tw, intptr_t lastScriptPtr)
{
if (Bstrncmp(keyw[tw], "if", 2) && tw != CON_ELSE)
// ifrnd and ifhitweapon actually do something when the condition is executed
if ((Bstrncmp(keyw[tw], "if", 2) && tw != CON_ELSE) ||
tw == CON_IFRND || tw == CON_IFHITWEAPON)
{
g_ifElseAborted = 0;
return 0;