DREAMWEB: Port 'setpickup' to C++ and added an enum for the object types

This commit is contained in:
Filippos Karapetis 2011-12-18 11:25:49 +02:00
parent f69dfba21a
commit 421c8cd262
9 changed files with 75 additions and 81 deletions

View file

@ -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();