DREAMWEB: Port 'setpickup' to C++ and added an enum for the object types
This commit is contained in:
parent
f69dfba21a
commit
421c8cd262
9 changed files with 75 additions and 81 deletions
|
@ -760,7 +760,7 @@ void DreamGenContext::useChurchGate() {
|
|||
|
||||
void DreamGenContext::useGun() {
|
||||
|
||||
if (data.byte(kObjecttype) != 4) {
|
||||
if (data.byte(kObjecttype) != kExObjectType) {
|
||||
// gun is not taken
|
||||
showSecondUse();
|
||||
putBackObStuff();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue