removed \n from all Host_Error, Sys_Error, PRVM_ERROR, PF_ERROR calls, since Host_Err...
[xonotic/darkplaces.git] / pr_execprogram.h
index 0be877c..e8886c5 100644 (file)
                                        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
                                        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
                                        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
                                        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
                                        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
                                        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
                                        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)
                                        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
                                        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
                                        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
                                        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
                                        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
                                        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
                                        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;