diff UI/UICharacter.cpp @ 2378:48dbf99c0f7f

spawn_light_elemental cleaned
author Ritor1
date Mon, 09 Jun 2014 16:26:07 +0600
parents bddcaf5d5db2
children f4af3b203f65
line wrap: on
line diff
--- a/UI/UICharacter.cpp	Mon Jun 02 12:31:28 2014 +0600
+++ b/UI/UICharacter.cpp	Mon Jun 09 16:26:07 2014 +0600
@@ -2235,7 +2235,7 @@
   if (full_num_items_in_book>0)
   {
     for (int i = 0; i< full_num_items_in_book; ++i)
-      achieved_awards[full_num_items_in_book+i] = (AwardType)(rand()%16);
+      achieved_awards[full_num_items_in_book+i] = (AwardType)(rand()%16);//случайные значения от 0 до 15
     for (int i = 1; i< full_num_items_in_book; ++i)
     {
       for (int j = i; j< full_num_items_in_book; ++j)