mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
fixed load-game crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5034 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
03d96bff72
commit
8c0ac181d2
1 changed files with 2 additions and 1 deletions
|
@ -1961,7 +1961,8 @@ int PDECL PR_LoadEnts(pubprogfuncs_t *ppf, const char *file, void *ctx, void (PD
|
|||
externs->entspawn((struct edict_s *) ed, true);
|
||||
file = ED_ParseEdict(progfuncs, file, ed);
|
||||
|
||||
callback(ppf, (struct edict_s *)ed, ctx, datastart, file);
|
||||
if (callback)
|
||||
callback(ppf, (struct edict_s *)ed, ctx, datastart, file);
|
||||
}
|
||||
else if (!strcmp(qcc_token, "progs"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue