diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2019-04-03 22:00:15 +0200 |
---|---|---|
committer | huderlem <huderlem@gmail.com> | 2019-04-03 17:04:07 -0500 |
commit | 438521bf21e24afc15adf871f154d5d7c361408a (patch) | |
tree | 09efc0a3ea566955ff54a619f3199027248312e4 /src | |
parent | 4018017e9e334eff81107c07e9a32fcc678dac36 (diff) |
Get rid of redundant cast
Diffstat (limited to 'src')
-rw-r--r-- | src/pokemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokemon.c b/src/pokemon.c index 984c484a2..a75701cb0 100644 --- a/src/pokemon.c +++ b/src/pokemon.c @@ -5463,7 +5463,7 @@ u16 GetEvolutionTargetSpecies(struct Pokemon *mon, u8 type, u16 evolutionItem) if (gEvolutionTable[species][i].param == heldItem) { heldItem = 0; - SetMonData(mon, MON_DATA_HELD_ITEM, (u8 *)&heldItem); + SetMonData(mon, MON_DATA_HELD_ITEM, &heldItem); targetSpecies = gEvolutionTable[species][i].targetSpecies; } break; |