]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - pr_execprogram.h
removed \n from all Host_Error, Sys_Error, PRVM_ERROR, PF_ERROR calls, since Host_Err...
[xonotic/darkplaces.git] / pr_execprogram.h
index 0be877c22822a507f060c73b59a10f946746dc36..e8886c53c12c918f0b086d225b6178a2a4d8ee07 100644 (file)
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
-                                       Host_Error("Progs attempted to write to an out of bounds edict (%i)\n", OPB->_int);
+                                       Host_Error("Progs attempted to write to an out of bounds edict (%i)", OPB->_int);
                                        return;
                                }
 #endif
                                        return;
                                }
 #endif
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
-                                       Host_Error("Progs attempted to write to an out of bounds edict (%i)\n", OPB->_int);
+                                       Host_Error("Progs attempted to write to an out of bounds edict (%i)", OPB->_int);
                                        return;
                                }
 #endif
                                        return;
                                }
 #endif
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
-                                       Host_Error("Progs attempted to address an invalid field (%i) in an edict\n", OPB->_int);
+                                       Host_Error("Progs attempted to address an invalid field (%i) in an edict", OPB->_int);
                                        return;
                                }
 #endif
                                        return;
                                }
 #endif
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
-                                       Host_Error("Progs attempted to read an invalid field in an edict (%i)\n", OPB->_int);
+                                       Host_Error("Progs attempted to read an invalid field in an edict (%i)", OPB->_int);
                                        return;
                                }
 #endif
                                        return;
                                }
 #endif
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
-                                       Host_Error("Progs attempted to read an invalid field in an edict (%i)\n", OPB->_int);
+                                       Host_Error("Progs attempted to read an invalid field in an edict (%i)", OPB->_int);
                                        return;
                                }
 #endif
                                        return;
                                }
 #endif
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
-                                       Host_Error("Progs attempted to write to an out of bounds edict\n");
+                                       Host_Error("Progs attempted to write to an out of bounds edict");
                                        return;
                                }
 #endif
                                        return;
                                }
 #endif
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
-                                       Host_Error("Progs attempted to read an out of bounds edict number\n");
+                                       Host_Error("Progs attempted to read an out of bounds edict number");
                                        return;
                                }
                                if (OPB->_int < 0 || OPB->_int >= progs->entityfields)
                                        return;
                                }
                                if (OPB->_int < 0 || OPB->_int >= progs->entityfields)
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
-                                       Host_Error("Progs attempted to read an invalid field in an edict\n");
+                                       Host_Error("Progs attempted to read an invalid field in an edict");
                                        return;
                                }
 #endif
                                        return;
                                }
 #endif
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
-                                       Host_Error("Progs attempted to write to an invalid indexed global\n");
+                                       Host_Error("Progs attempted to write to an invalid indexed global");
                                        return;
                                }
 #endif
                                        return;
                                }
 #endif
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
-                                       Host_Error("Progs attempted to write to an invalid indexed global\n");
+                                       Host_Error("Progs attempted to write to an invalid indexed global");
                                        return;
                                }
 #endif
                                        return;
                                }
 #endif
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
-                                       Host_Error("Progs attempted to address an out of bounds global\n");
+                                       Host_Error("Progs attempted to address an out of bounds global");
                                        return;
                                }
 #endif
                                        return;
                                }
 #endif
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
-                                       Host_Error("Progs attempted to read an invalid indexed global\n");
+                                       Host_Error("Progs attempted to read an invalid indexed global");
                                        return;
                                }
 #endif
                                        return;
                                }
 #endif
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
-                                       Host_Error("Progs attempted to read an invalid indexed global\n");
+                                       Host_Error("Progs attempted to read an invalid indexed global");
                                        return;
                                }
 #endif
                                        return;
                                }
 #endif
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
                                        pr_xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        pr_xstatement = st - pr_statements;
-                                       Host_Error("Progs boundcheck failed at line number %d, value is < 0 or >= %d\n", st->b, st->c);
+                                       Host_Error("Progs boundcheck failed at line number %d, value is < 0 or >= %d", st->b, st->c);
                                        return;
                                }
                                break;
                                        return;
                                }
                                break;