WIP.
| 169 | |
| 170 | // WIP. |
| 171 | S32 zThrown_IsFruit(xEnt* ent, F32* stackHeight) |
| 172 | { |
| 173 | ThrowableStats* stats = zThrowableModels; |
| 174 | while (stats->nameHash != ent->asset->modelInfoID && |
| 175 | stats->nameHashMINF != ent->asset->modelInfoID && stats->name != NULL) |
| 176 | { |
| 177 | stats++; |
| 178 | } |
| 179 | if (stats != NULL && *(U32*)&stats->carry->killTimer == *(U32*)&c_fruit.killTimer) |
| 180 | { |
| 181 | if (stackHeight != NULL) |
| 182 | { |
| 183 | *stackHeight = stats->stackHeight; |
| 184 | } |
| 185 | return 1; |
| 186 | } |
| 187 | return 0; |
| 188 | } |
| 189 | |
| 190 | S32 zThrown_IsStacked(xEnt* ent) |
| 191 | { |