mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@1202 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
68ab9ebeaa
commit
94d1fc6bfe
2 changed files with 5 additions and 3 deletions
|
@ -44,7 +44,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BUILDDATE " 20090104"
|
#define BUILDDATE " 20090105"
|
||||||
#define VERSION " 1.2.0devel"
|
#define VERSION " 1.2.0devel"
|
||||||
|
|
||||||
static int floor_over_floor;
|
static int floor_over_floor;
|
||||||
|
|
|
@ -1803,7 +1803,9 @@ static int C_GetNextValue(int type)
|
||||||
|
|
||||||
static int C_CheckEmptyBranch(int tw, intptr_t lastScriptPtr)
|
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;
|
g_ifElseAborted = 0;
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -2983,7 +2985,7 @@ static int C_ParseCommand(void)
|
||||||
g_numBraces++;
|
g_numBraces++;
|
||||||
|
|
||||||
do
|
do
|
||||||
done = C_ParseCommand();
|
done = C_ParseCommand();
|
||||||
while (done == 0);
|
while (done == 0);
|
||||||
}
|
}
|
||||||
else C_ParseCommand();
|
else C_ParseCommand();
|
||||||
|
|
Loading…
Reference in a new issue