diff options
author | erorcun <erayorcunus@gmail.com> | 2020-03-22 02:50:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-22 02:50:38 +0100 |
commit | 23f2ab5ff168e821c54ff84618bd4a5a12476cd5 (patch) | |
tree | d42b0d0fe6ef7f1b2d68b71ecbc63437d6ab2c4d /src/control/Garages.cpp | |
parent | Merge pull request #349 from Nick007J/master (diff) | |
parent | Merge branch 'master' into erorcun (diff) | |
download | re3-23f2ab5ff168e821c54ff84618bd4a5a12476cd5.tar re3-23f2ab5ff168e821c54ff84618bd4a5a12476cd5.tar.gz re3-23f2ab5ff168e821c54ff84618bd4a5a12476cd5.tar.bz2 re3-23f2ab5ff168e821c54ff84618bd4a5a12476cd5.tar.lz re3-23f2ab5ff168e821c54ff84618bd4a5a12476cd5.tar.xz re3-23f2ab5ff168e821c54ff84618bd4a5a12476cd5.tar.zst re3-23f2ab5ff168e821c54ff84618bd4a5a12476cd5.zip |
Diffstat (limited to 'src/control/Garages.cpp')
-rw-r--r-- | src/control/Garages.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Garages.cpp b/src/control/Garages.cpp index 9f300257..5ac15377 100644 --- a/src/control/Garages.cpp +++ b/src/control/Garages.cpp @@ -14,7 +14,7 @@ int32 &CGarages::BankVansCollected = *(int32 *)0x8F1B34; bool &CGarages::BombsAreFree = *(bool *)0x95CD7A; bool &CGarages::RespraysAreFree = *(bool *)0x95CD1D; int32 &CGarages::CarsCollected = *(int32 *)0x880E18; -int32 (&CGarages::CarTypesCollected)[TOTAL_COLLECTCARS_GARAGES] = *(int32 (*)[TOTAL_COLLECTCARS_GARAGES])(uintptr*)0x8E286C; +int32 (&CGarages::CarTypesCollected)[TOTAL_COLLECTCARS_GARAGES] = *(int32 (*)[TOTAL_COLLECTCARS_GARAGES])*(uintptr*)0x8E286C; int32 &CGarages::CrushedCarId = *(int32 *)0x943060; uint32 &CGarages::LastTimeHelpMessage = *(uint32 *)0x8F1B58; int32 &CGarages::MessageNumberInString = *(int32 *)0x885BA8; @@ -27,7 +27,7 @@ bool &CGarages::PlayerInGarage = *(bool *)0x95CD83; int32 &CGarages::PoliceCarsCollected = *(int32 *)0x941444; uint32 &CGarages::GarageToBeTidied = *(uint32 *)0x623570; -CGarage(&CGarages::Garages)[NUM_GARAGES] = *(CGarage(*)[NUM_GARAGES])(uintptr*)0x72BCD0; +CGarage(&CGarages::Garages)[NUM_GARAGES] = *(CGarage(*)[NUM_GARAGES])*(uintptr*)0x72BCD0; WRAPPER void CGarages::Init(void) { EAXJMP(0x421C60); } WRAPPER void CGarages::Update(void) { EAXJMP(0x421E40); } |