Renamed instance_variables to global_variables and iv to g.
This commit is contained in:
@@ -1558,7 +1558,7 @@ encumber_msg()
|
||||
{
|
||||
int newcap = near_capacity();
|
||||
|
||||
if (iv.oldcap < newcap) {
|
||||
if (g.oldcap < newcap) {
|
||||
switch (newcap) {
|
||||
case 1:
|
||||
Your("movements are slowed slightly because of your load.");
|
||||
@@ -1576,7 +1576,7 @@ encumber_msg()
|
||||
break;
|
||||
}
|
||||
context.botl = 1;
|
||||
} else if (iv.oldcap > newcap) {
|
||||
} else if (g.oldcap > newcap) {
|
||||
switch (newcap) {
|
||||
case 0:
|
||||
Your("movements are now unencumbered.");
|
||||
@@ -1595,7 +1595,7 @@ encumber_msg()
|
||||
context.botl = 1;
|
||||
}
|
||||
|
||||
iv.oldcap = newcap;
|
||||
g.oldcap = newcap;
|
||||
return newcap;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user