X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=cl_parse.c;h=6cfe6acf3ad19b18a8ffda7df8f8a54c99e9b0da;hb=85d7c7f18c78cf77d7d00453338892e042b51eb3;hp=29b663f63a928dbd06a723338f4abc58c2793148;hpb=876c0c95d689fc180bda511bf10189626222b5fc;p=xonotic%2Fdarkplaces.git diff --git a/cl_parse.c b/cl_parse.c index 29b663f6..6cfe6acf 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -29,7 +29,7 @@ char *svc_strings[128] = "svc_nop", "svc_disconnect", "svc_updatestat", - "svc_version", // [long] server version + "svc_version", // [int] server version "svc_setview", // [short] entity number "svc_sound", // "svc_time", // [float] server time @@ -38,7 +38,7 @@ char *svc_strings[128] = // the string should be \n terminated "svc_setangle", // [vec3] set the view angle to this absolute value - "svc_serverinfo", // [long] version + "svc_serverinfo", // [int] version // [string] signon string // [string]..[0]model cache [string]...[0]sounds cache // [string]..[0]item cache @@ -862,7 +862,7 @@ void CL_ParseBeam (model_t *m, int lightning) // override any beam with the same entity for (i = 0, b = cl_beams;i < cl_max_beams;i++, b++) { - if (b->entity == ent) + if (b->entity == ent && ent) { //b->entity = ent; b->lightning = lightning;