summaryrefslogtreecommitdiffstats
path: root/src/control/Garages.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-20 15:24:54 +0200
committerGitHub <noreply@github.com>2019-06-20 15:24:54 +0200
commit0952b316ebf3944ed1592678516092bb7e236203 (patch)
tree624b5d51f10ec44b130e7c8639d532daade30006 /src/control/Garages.cpp
parentstarted CStreaming (diff)
parentCode clean up. (diff)
downloadre3-0952b316ebf3944ed1592678516092bb7e236203.tar
re3-0952b316ebf3944ed1592678516092bb7e236203.tar.gz
re3-0952b316ebf3944ed1592678516092bb7e236203.tar.bz2
re3-0952b316ebf3944ed1592678516092bb7e236203.tar.lz
re3-0952b316ebf3944ed1592678516092bb7e236203.tar.xz
re3-0952b316ebf3944ed1592678516092bb7e236203.tar.zst
re3-0952b316ebf3944ed1592678516092bb7e236203.zip
Diffstat (limited to 'src/control/Garages.cpp')
-rw-r--r--src/control/Garages.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/control/Garages.cpp b/src/control/Garages.cpp
index 6f1ad028..70a15476 100644
--- a/src/control/Garages.cpp
+++ b/src/control/Garages.cpp
@@ -8,8 +8,6 @@
#include "Messages.h"
#include "Text.h"
-//WRAPPER void CGarages::PrintMessages(void) { EAXJMP(0x426310); }
-
int32 &CGarages::BankVansCollected = *(int32 *)0x8F1B34;
bool &CGarages::BombsAreFree = *(bool *)0x95CD7A;
bool &CGarages::RespraysAreFree = *(bool *)0x95CD1D;
@@ -65,6 +63,9 @@ CGarages::IsModelIndexADoor(uint32 id)
id == MI_CRUSHERLID;
}
+#if 0
+WRAPPER void CGarages::PrintMessages(void) { EAXJMP(0x426310); }
+#else
void CGarages::PrintMessages()
{
if (CTimer::GetTimeInMilliseconds() > CGarages::MessageStartTime && CTimer::GetTimeInMilliseconds() < CGarages::MessageEndTime) {
@@ -104,4 +105,5 @@ void CGarages::PrintMessages()
CFont::PrintString((SCREEN_WIDTH / 2), (SCREEN_HEIGHT / 2) + SCREEN_SCALE_Y(-84.0f - 40.0f), gUString);
}
}
-} \ No newline at end of file
+}
+#endif