summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2Matter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2Matter.cpp')
-rw-r--r--src/T2DLL/T2Matter.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/T2DLL/T2Matter.cpp b/src/T2DLL/T2Matter.cpp
index 4af52e5..b97f410 100644
--- a/src/T2DLL/T2Matter.cpp
+++ b/src/T2DLL/T2Matter.cpp
@@ -108,13 +108,13 @@ BOOL T2Matter::PopReturn(unsigned int& outTenant, unsigned int& outTime) {
}
BOOL T2Matter::SetReturnToDestination() {
- BOOL result = false;
- unsigned int tenant, time;
- if (mReturnStack->Pop(tenant, time)) {
- SetDestination(tenant, time);
- result = true;
+ BOOL isReturn = false;
+ unsigned int tenantID, startTime;
+ if (mReturnStack->Pop(tenantID, startTime)) {
+ SetDestination(tenantID, startTime);
+ isReturn = true;
}
- return result;
+ return isReturn;
}
BOOL T2Matter::SetDestinationToReturn() {
@@ -142,6 +142,7 @@ BOOL T2Matter::RemoveReturn(unsigned int tenant) {
T2Object::LoadSelf(archive, towerDoc);
if (IsUsed()) {
+#pragma var_order(c, s, us, code)
unsigned short us;
short s;
char c;
@@ -188,6 +189,7 @@ BOOL T2Matter::RemoveReturn(unsigned int tenant) {
T2Object::SaveSelf(archive);
if (IsUsed()) {
+#pragma var_order(c, s, us, code)
unsigned short us;
short s;
char c;