]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_execprogram.h
use size_t more
[xonotic/darkplaces.git] / prvm_execprogram.h
index fd50149a887dc0f9032449f48c097b8acec29056..d125cd7eeb2266cfb294b2c1699e86b8d2c4f330 100644 (file)
                                        prog->xfunction->profile += profile - startprofile;
                                        startprofile = profile;
                                        prog->xstatement = st - prog->statements;
-                                       Host_Error("assignment to world entity in %s", PRVM_NAME);
+                                       PRVM_ERROR("forbidden assignment to null/world entity in %s", PRVM_NAME);
                                        return;
                                }
                                ed = PRVM_PROG_TO_EDICT(OPA->edict);