r3522 - trunk/data/qcsrc/common
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Mar 19 13:56:25 EDT 2008
Author: blub0
Date: 2008-03-19 13:56:23 -0400 (Wed, 19 Mar 2008)
New Revision: 3522
Modified:
trunk/data/qcsrc/common/gamecommand.qc
Log:
sry, used true instead of TRUE in the rpn, which does work in menu code but not in server code, changed to TRUE
Modified: trunk/data/qcsrc/common/gamecommand.qc
===================================================================
--- trunk/data/qcsrc/common/gamecommand.qc 2008-03-19 16:24:26 UTC (rev 3521)
+++ trunk/data/qcsrc/common/gamecommand.qc 2008-03-19 17:56:23 UTC (rev 3522)
@@ -375,7 +375,7 @@
i = stof(db_get(rpn_db, "stack.pos"));
if(!j)
{
- rpn_error = true;
+ rpn_error = TRUE;
print("rpn: empty database\n");
} else {
--j;
@@ -414,7 +414,7 @@
if(i < 0 || i >= j)
{
print("rpn: database cursor out of bounds\n");
- rpn_error = true;
+ rpn_error = TRUE;
}
if(!rpn_error)
{
@@ -426,7 +426,7 @@
j = stof(db_get(rpn_db, "stack.pointer"));
if(!j)
{
- rpn_error = true;
+ rpn_error = TRUE;
print("rpn: empty database, cannot move cursor\n");
}
if(!rpn_error)
@@ -442,7 +442,7 @@
if(i < 0 || i >= j)
{
print("rpn: database cursor destination out of bounds\n");
- rpn_error = true;
+ rpn_error = TRUE;
}
if(!rpn_error)
{
More information about the nexuiz-commits
mailing list