//=========================================================================== // // Parameter: - // Returns: - // Changes Globals: - //=========================================================================== int Export_BotLibUpdateEntity(int ent, bot_entitystate_t *state) { if (!BotLibSetup("BotUpdateEntity")) return BLERR_LIBRARYNOTSETUP; if (!ValidEntityNumber(ent, "BotUpdateEntity")) return BLERR_INVALIDENTITYNUMBER; return AAS_UpdateEntity(ent, state); } //end of the function Export_BotLibUpdateEntity
int BotLibUpdateEntity( int ent, bot_entitystate_t* state ) { if ( !IsBotLibSetup( "BotUpdateEntity" ) ) { return BLERR_LIBRARYNOTSETUP; } if ( !ValidEntityNumber( ent, "BotUpdateEntity" ) ) { return GGameType & GAME_Quake3 ? Q3BLERR_INVALIDENTITYNUMBER : WOLFBLERR_INVALIDENTITYNUMBER; } return AAS_UpdateEntity( ent, state ); }