rundungsfehler RESOURCE_QUANTITY verbessert

This commit is contained in:
Katja Zedel 2002-11-06 17:37:06 +00:00
parent f3c7da7dbc
commit e8801b5878
1 changed files with 1 additions and 1 deletions

View File

@ -1533,7 +1533,7 @@ sp_create_irongolem(castorder *co)
int cast_level = co->level; int cast_level = co->level;
int force = co->force; int force = co->force;
/* hier fehlt noch ein wenig zufall */ /* hier fehlt noch ein wenig zufall */
int number = 1+(int)(force*RESOURCE_QUANTITY)*8; int number = 1+(int)(force*8*RESOURCE_QUANTITY);
if (rterrain(r) == T_SWAMP){ if (rterrain(r) == T_SWAMP){
cmistake(mage, strdup(co->order), 188, MSG_MAGIC); cmistake(mage, strdup(co->order), 188, MSG_MAGIC);