mirror of
https://github.com/UberGames/rpgxEF.git
synced 2025-02-23 12:31:15 +00:00
fixes
This commit is contained in:
parent
0f778beedf
commit
6de52084a8
1 changed files with 5 additions and 1 deletions
|
@ -973,9 +973,13 @@ void phaser_link(gentity_t *ent) {
|
|||
|
||||
if(ent->target != NULL && ent->target[0] != 0) {
|
||||
target = G_Find(target, FOFS(targetname), ent->target);
|
||||
} else {
|
||||
DEVELOPER(G_Printf(S_COLOR_YELLOW "[Entity-Error] phaser_link: ent->target is NULL\n"););
|
||||
G_FreeEntity(ent);
|
||||
return;
|
||||
}
|
||||
|
||||
if(target == 0) {
|
||||
if(target == NULL) {
|
||||
DEVELOPER(G_Printf(S_COLOR_YELLOW "[Enity-Error] Could not find target %s for fx_phaser at %s!\n", ent->target, vtos(ent->r.currentOrigin)););
|
||||
G_FreeEntity(ent);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue