diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2022-12-19 11:06:32 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-19 12:06:32 -0700 |
| commit | ca71275bbecc7db9a4eeca3a6ac4215b66de4318 (patch) | |
| tree | c2851f8cec211216fe0cb6a31a0260a62fc3bf53 /src/d/meter/d_meter2.cpp | |
| parent | 1114b13da81ab0b52fd4bb56a32f32331a21e581 (diff) | |
big d_a_alink pass (#214)
* d_a_alink pass1 wip
* more d_a_alink work
* remove asm
* more daalink work
* 20% dol code decompiled
* fixed some nonmatchings for building
* a few daalink functions and labeling some HIO data
Diffstat (limited to 'src/d/meter/d_meter2.cpp')
| -rw-r--r-- | src/d/meter/d_meter2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/meter/d_meter2.cpp b/src/d/meter/d_meter2.cpp index b613f96843..aa60e21eb6 100644 --- a/src/d/meter/d_meter2.cpp +++ b/src/d/meter/d_meter2.cpp @@ -324,10 +324,10 @@ int dMeter2_c::_create() { mMaxMagic = dComIfGs_getMaxMagic(); - mNowOil = dComIfGs_getOil(); + mNowOil = (s16)dComIfGs_getOil(); dComIfGp_setItemNowOil(mNowOil); - mMaxOil = dComIfGs_getMaxOil(); + mMaxOil = (s16)dComIfGs_getMaxOil(); mNowOxygen = dComIfGp_getOxygen(); dComIfGp_setNowOxygen(mNowOxygen); |
