Permalink
Browse files

Fixed bug in AOS attribute loading of NPCs

  • Loading branch information...
turleypol committed Nov 15, 2017
1 parent 8d34a6c commit 6805af41cb923c1ac0d053d4989826bac905a5ab
Showing with 1 addition and 1 deletion.
  1. +1 −1 pol-core/pol/mobile/npc.cpp
@@ -425,7 +425,7 @@ void NPC::loadEquipablePropertiesNPC( Clib::ConfigElem& elem )
*value = atoi( dicestr.c_str() );
else
*value = dice.roll();
return value != 0;
return *value != 0;
};
auto apply = []( Core::ValueModPack v, int value ) -> Core::ValueModPack
{

0 comments on commit 6805af4

Please sign in to comment.