Dependendcies should now work again.
This commit is contained in:
parent
5c7788981b
commit
55a5fc12c3
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ global int CheckDependByIdent(const Player* player,const char* target)
|
|||
//
|
||||
// Find rule
|
||||
//
|
||||
i=rule.Kind.UnitType->Type%(sizeof(DependHash)/sizeof(*DependHash));
|
||||
i=(int)(long)rule.Kind.UnitType%(sizeof(DependHash)/sizeof(*DependHash));
|
||||
|
||||
if( (node=DependHash[i]) ) { // find correct entry
|
||||
while( node->Type!=rule.Type
|
||||
|
|
Loading…
Add table
Reference in a new issue