mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-23 12:42:36 +00:00
classname will always evaluate as true issue
This commit is contained in:
parent
8e54e9809b
commit
a4a8c99a92
1 changed files with 1 additions and 1 deletions
|
@ -4187,7 +4187,7 @@ int BotGetActivateGoal(bot_state_t * bs, int entitynum, bot_activategoal_t * act
|
|||
return 0;
|
||||
}
|
||||
trap_AAS_ValueForBSPEpairKey(ent, "classname", classname, sizeof(classname));
|
||||
if (!classname) {
|
||||
if (!*classname) {
|
||||
BotAI_Print(PRT_ERROR, "BotGetActivateGoal: entity with model %s has no classname\n", model);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue